Thank you very much the fast response!

I'm sorry of course I meant pyglet 1.1.4, i just reinstalled with 

pip install --upgrade http://pyglet.googlecode.com/archive/tip.zip
This found pyglet 1.1.4 and uninstalled it automatically.

Then i manually deleted the avbin 7 files.

Afterwards I tried "ldd /lib/libavbin.so" and got:

ldd: /lib/libavbin.so: No such file or directory

Then I did "ldd /usr/lib/libavbin.so" and got:

ldd /usr/lib/libavbin.so
linux-gate.so.1 =>  (0x00204000)
libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0x00110000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0x00121000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00205000)
/lib/ld-linux.so.2 (0x007b7000)


Then I tried to create a symbolic link in that destination
ln -sf /usr/lib/libavbin.so /lib/libavbin.so

But still the same error when I try to run the simple audio.py.

Thank you very much for your time!

Regards,
Christian

Am Mittwoch, 29. Januar 2014 00:00:31 UTC+1 schrieb 
[email protected]:
>
> Please help me! I already searched for over 2hrs but I cannot seem to get 
> this working.
>
> I got this demo script from pyglet:
>
> import pyglet
>
> music = pyglet.resource.media('music.mp3')
> music.play()
>
> pyglet.app.run()
>
> Trying to run this always gives me following errors:
>
> File "/home/christian/public/audio.py", line 3, in <module>
>     music = pyglet.resource.media('music.mp3')
>   File "/usr/local/lib/python2.7/dist-packages/pyglet/resource.py", line 
> 623, in media
>     return media.load(path, streaming=streaming)
>   File "/usr/local/lib/python2.7/dist-packages/pyglet/media/__init__.py", 
> line 1412, in load
>     source = get_source_loader().load(filename, file)
>   File "/usr/local/lib/python2.7/dist-packages/pyglet/media/__init__.py", 
> line 1393, in load
>     return riff.WaveSource(filename, file)
>   File "/usr/local/lib/python2.7/dist-packages/pyglet/media/riff.py", line 
> 201, in __init__
>     'AVbin is required to decode compressed media')
> pyglet.media.riff.WAVEFormatException: AVbin is required to decode 
> compressed media
>
> At the moment I have the pyglet version from 'pip install --upgrade 
> http://pyglet.googlecode.com/archive/tip.zip' before I installed the 1.4 
> version manually.
> My Avbin versions should be 10 as well as 7. Two versions because I tried 
> installing the older version afterwards as I read somewhere that this 
> should probably fix the problem, but it did not. 
>
> Any help is greatly appreciated!
>
> Thank you :)
>
> Regards,
>
> Christian
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to