I have two versions of python on my mac:
One preinstalled by Apple in /usr/bin
One from python.org in /Library/Frameworks/Python.framework/Versions/2.6
easy_install always installs to /usr/bin
for some ununderstanable reason
So I explicitly now install easy_install in:
sh setuptools-0.6c11-py2.6.egg --install-dir=/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages
Now I want to easy_install pip AND ....:
Searching for pip
Best match: pip 0.8
Processing pip-0.8-py2.6.egg
pip 0.8 is already the active version in easy-install.pth
Installing pip script to /usr/local/bin
error: /usr/local/bin/pip: Permission denied
My path and pythonpath:
PATH="/Library/Frameworks/Python.framework/Versions/2.6/bin:${PATH}"
export PATH
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH
PYTHONPATH="/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages"
export PYTHONPATH
- One more PYTHONPATH where I keep modules I wrote
Sorry I really dont get it.
What am I doing wrong.
I just want to install modules regularly in the Framework Python directory