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的不同版本存在一些困惑。