<div dir="ltr">On 29 July 2013 23:22, Devyn Collier Johnson <span dir="ltr"><<a href="mailto:devyncjohnson@gmail.com" target="_blank">devyncjohnson@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div><div><span style="color:rgb(34,34,34)">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.</span><br></div></div>
    <br>
    collier@Nacho-Laptop:~$ pip install pyglet<br>
    Downloading/unpacking pyglet<br>
      Downloading pyglet-1.1.4.tar.gz (2.9MB): 2.9MB downloaded<br>
      Running setup.py egg_info for package pyglet<br>
    .......Blah........<br>
    .......Blah........<br>
    Installing collected packages: pyglet<br>
      Running setup.py install for pyglet<br>
    Successfully installed pyglet<br>
    Cleaning up...<br>
    collier@Nacho-Laptop:~/pytest$ ./pymedia.py<div><br>
    Traceback (most recent call last):<br></div>
      File "./pymedia.py", line 3, in <module><div><br>
        song = pyglet.media.load('./boot.ogg')<br></div>
      File
    "/usr/local/lib/python2.7/dist-packages/pyglet/media/__init__.py",
    line 1386, in load<br>
        source = _source_class(filename, file)<br>
      File
    "/usr/local/lib/python2.7/dist-packages/pyglet/media/riff.py", line
    202, in __init__<br>
        'AVbin is required to decode compressed media')<br>
    pyglet.media.riff.WAVEFormatException: AVbin is required to decode
    compressed media<br>
    AL lib: ReleaseALC: 1 device not closed<br>
    collier@Nacho-Laptop:~/pytest$ ls<br>
    boot.ogg  pymedia.py<br></div></blockquote><div><br></div><div>This line:</div><div><br></div><div>> pyglet.media.riff.WAVEFormatException: AVbin is required to decode compressed media </div><div><br></div><div>You should read your exceptions very carefully, they're normally there for a very good reason.</div>


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


</div></div></div>