I am trying to install PyX in yosemite under python 2.7.6
Initially, the setup looks ok
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
but when trying to run an example
python hello.py
Traceback (most recent call last):
File "hello.py", line 1, in <module>
from pyx import *
ImportError: No module named pyx
Any help ?
thanks
Make sure, this is a common problem, your Command Line Interface is using the appropriate version of Python. Most users have multiple versions of python installed, and your CLI only recognizes one at at time. In your terminal window type in python and you will see what version you have. Also check where you installed PyX if it isn't under another python directory.