Reputation: 874
I saw an answer to this question here easy_install with various versions of python installed, mac osx but it doesn't install easy install with my version of python. When I run port select --list python I get the following list: none python25-apple python26-apple python27 (active) python27-apple
My problem is that no matter how I edit my path, everything is still installed using /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin instead /opt/local/bin/python. I am not sure how to resolve this. I tried using virtualenv but that can't be installed due to missing pip etc.
Edit: I am not trying to install pip using macports. The problem is that the python I am using is the python installed via macports and when I am trying to install anything using easyinstall, it is using apple version of python. For example, I installed python eve using easy_install, but when I invoke my python it's not working
Upvotes: 0
Views: 1468
Reputation: 553
port is just one package manager for mac osx. it is not necessary to use it for installing pip/etc.
http://www.pip-installer.org/en/latest/installing.html
use the full path to the python bin you want to use when invoking python
once complete edit your path accordingly (prioritizing the python version you want to use)
Upvotes: 0