Re: Has anyone gotten Pyglet to work

2013-07-29 Thread Devyn Collier Johnson
Thanks everyone for your help. I installed AVbin v10. I no longer get Python errors, but no sound is produced. This is now an AVbin problem that I must figure out. At least I am done with the Python issues. For those of you that need AVbin: http://avbin.github.io/AVbin/Home/Home.html Mahal

Re: Has anyone gotten Pyglet to work

2013-07-29 Thread Joshua Landau
On 29 July 2013 23:22, Devyn Collier Johnson 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 >

Re: Has anyone gotten Pyglet to work

2013-07-29 Thread Steven D'Aprano
On Mon, 29 Jul 2013 18:22:02 -0400, Devyn Collier Johnson 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. [...] > Traceback (most recent call last): >File "./pymedia.py",

Re: Has anyone gotten Pyglet to work

2013-07-29 Thread Devyn Collier Johnson
On 07/29/2013 05:08 PM, Gary Herron wrote: On 07/29/2013 01:56 PM, Devyn Collier Johnson wrote: 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 lin

Re: Has anyone gotten Pyglet to work

2013-07-29 Thread Steven D'Aprano
On Mon, 29 Jul 2013 16:56:06 -0400, Devyn Collier Johnson wrote: > collier@Nacho-Laptop:~$ ./pyglet.py Here you are running a module called pyglet, which I assume you wrote. > Traceback (most recent call last): >File "./pyglet.py", line 2, in > import pyglet And here you try to impor

Re: Has anyone gotten Pyglet to work

2013-07-29 Thread Lee Harr
> $ ./pyglet.py > Traceback (most recent call last): >    File "./pyglet.py", line 2, in >      import pyglet >    File "/home/collier/pyglet.py", line 3, in >      song = pyglet.media.load('./boot.ogg') > AttributeError: 'module' object has no attribute 'media' Name your program something othe

Re: Has anyone gotten Pyglet to work

2013-07-29 Thread Gary Herron
On 07/29/2013 01:56 PM, Devyn Collier Johnson wrote: 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 (http://guzalexander.com/2012/08/17/playin

Has anyone gotten Pyglet to work

2013-07-29 Thread Devyn Collier Johnson
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 (http://guzalexander.com/2012/08/17/playing-a-sound-with-python.html). collier@Nacho-Laptop:~$