I have two versions of python on my mac:
One preinstalled Apple in /usr/bin
One from python.org at /Library/Frameworks/Python.framework/Versions/2.6
easy_install is always installed on /usr/bin for some reason
So, I'm setting easy_install to right now:
sh setuptools-0.6c11-py2.6.egg --install-dir=/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages
Now I want 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
- Another PYTHONPATH where I store the modules I wrote
Sorry, I really don't understand.
What am I doing wrong.
I just want to regularly install modules in the Python Framework directory
python easy-install
Macpython
source share