Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51516 > unrolled thread

Re: Has anyone gotten Pyglet to work

Started byJoshua Landau <joshua@landau.ws>
First post2013-07-29 23:46 +0100
Last post2013-07-29 23:46 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Has anyone gotten Pyglet to work Joshua Landau <joshua@landau.ws> - 2013-07-29 23:46 +0100

#51516 — Re: Has anyone gotten Pyglet to work

FromJoshua Landau <joshua@landau.ws>
Date2013-07-29 23:46 +0100
SubjectRe: Has anyone gotten Pyglet to work
Message-ID<mailman.5282.1375138028.3114.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

On 29 July 2013 23:22, Devyn Collier Johnson <devyncjohnson@gmail.com>wrote:

> Duh, thanks for the tip (^u^), but I still get an error (different error).
> NOTE: this is all python2.7 code because Pyglet supposedly has issues with
> Python3.
>
> collier@Nacho-Laptop:~$ pip install pyglet
> Downloading/unpacking pyglet
>   Downloading pyglet-1.1.4.tar.gz (2.9MB): 2.9MB downloaded
>   Running setup.py egg_info for package pyglet
> .......Blah........
> .......Blah........
> Installing collected packages: pyglet
>   Running setup.py install for pyglet
> Successfully installed pyglet
> Cleaning up...
> collier@Nacho-Laptop:~/pytest$ ./pymedia.py
>
> Traceback (most recent call last):
>   File "./pymedia.py", line 3, in <module>
>
>     song = pyglet.media.load('./boot.ogg')
>   File "/usr/local/lib/python2.7/dist-packages/pyglet/media/__init__.py",
> line 1386, in load
>     source = _source_class(filename, file)
>   File "/usr/local/lib/python2.7/dist-packages/pyglet/media/riff.py", line
> 202, in __init__
>     'AVbin is required to decode compressed media')
> pyglet.media.riff.WAVEFormatException: AVbin is required to decode
> compressed media
> AL lib: ReleaseALC: 1 device not closed
> collier@Nacho-Laptop:~/pytest$ ls
> boot.ogg  pymedia.py
>

This line:

> pyglet.media.riff.WAVEFormatException: AVbin is required to decode
compressed media

You should read your exceptions very carefully, they're normally there for
a very good reason.

Then Google that line. Then get
http://stackoverflow.com/questions/10302873/python-pyglet-avbin-how-to-install-avbin
(first
link for me). As someone who knows nothing about this, that's your best
bet. If not, Google's other links looked promising.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web