我正在尝试在 python 2.7.6 下的 yosemite 中安装 PyX
最初,设置看起来不错
python setup.py install
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /Users/alkaloge/Library/Python/2.7/site-packages/PyX-0.12.1-py2.7.egg-info
Writing /Users/alkaloge/Library/Python/2.7/site-packages/PyX-0.12.1-py2.7.egg-info
但是在尝试运行示例时
python hello.py
Traceback (most recent call last):
File "hello.py", line 1, in <module>
from pyx import *
ImportError: No module named pyx
有什么帮助吗?
谢谢