0
在Ubuntu的15.10,运行无法编译pyglet蟒蛇在Ubuntu
python3.4 sound.py
导致这个错误:
Traceback (most recent call last):
File "sound.py", line 2, in <module>
import pyglet
ImportError: No module named 'pyglet'
我已经安装pyglet与运行此命令:
sudo easy_install -U pyglet
生成
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
我对缺少什么感到困惑。我想对python,pyglet或Ubuntu的不同版本存在一些困惑。