Python installieren, deinstallieren easy_install

Ich habe zwei Versionen von python auf meinem mac:

Einer vorinstallierten von Apple im /usr/bin

Einer von python.org in /Library/Frameworks/Python.framework/Versions/2.6

easy_install installiert immer zu /usr/bin für einige ununderstanable Grund

Also ich explizit jetzt installieren easy_install in:

sh setuptools-0.6c11-py2.6.egg --install-dir=/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages

Nun will ich easy_install UND pip ....:

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

Meinen Weg und 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
  • Eine weitere PYTHONPATH, wo ich Module, die ich schrieb

Sorry, I really dont get it.

Was mache ich falsch.

Will ich einfach nur zu installieren die Module regelmäßig im Rahmen Python-Verzeichnis

InformationsquelleAutor MacPython | 2010-08-27
Schreibe einen Kommentar