Has anyone gotten Pyglet to work

Devyn Collier Johnson devyncjohnson at gmail.com
Mon Jul 29 22:56:06 CEST 2013

I tried Pyglet in a Python3 and a Python2 script, but both fail. The 
error code is below and the script is attached. The 'boot.ogg' file is 
Ubuntu's default bootup sound. I got my code from this link 

collier at Nacho-Laptop:~$ ./pyglet.py
Traceback (most recent call last):
   File "./pyglet.py", line 2, in <module>
     import pyglet
   File "/home/collier/pyglet.py", line 3, in <module>
     song = pyglet.media.load('./boot.ogg')
AttributeError: 'module' object has no attribute 'media'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyglet.py
Type: text/x-python
Size: 104 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20130729/18324b73/attachment.py>

More information about the Python-list mailing list