I’m using Mac OS X 10.6.8 and python 2.7.3. I’m trying to use pip to install ipython, and running sudo pip install ipython installs successfully, but when I try to run ipython I get “command not found”. I cannot find where pip installs packages, or why it’s not linking correctly. I’m very new with this, please help!
Share
For me, on an OS X 10.5, the default installation of Python is soft-linked to
/Library/Frameworks/Python.framework/Versions/Current/, and ipython is at/Library/Frameworks/Python.framework/Versions/Current/bin/ipython. Make sure thebindirectory it’s sitting in is in your shellPATH. Type:$ export PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:$PATH, then try running ipython. If that works, edit your
~/.profileto update yourPATHpermanently.