In Ubuntu 15.10,Running
python3.4 sound.py
leads to this error:
Traceback (most recent call last):
File "sound.py", line 2, in <module>
import pyglet
ImportError: No module named 'pyglet'
I already installed pyglet with running this command:
sudo easy_install -U pyglet
resulting
Searching for pyglet
Reading https://pypi.python.org/simple/pyglet/
Best match: pyglet 1.2.4
Processing pyglet-1.2.4-py2.7.egg
pyglet 1.2.4 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages/pyglet-1.2.4-py2.7.egg
Processing dependencies for pyglet
Finished processing dependencies for pyglet
I am confused about what is missing. I guess there are some confusion about different verions of python, pyglet or Ubuntu.