I am fine having multiple distributions of Python on my system, given the advice found here.
However: I cannot get easy_install
nor pip install
to install to the distribution associated with /usr/bin/python
on Mac. They will only install modules to the distribution associated with /Library/Python/2.6/
.
This is a problem because both my default python
calls and XCode compiles are associated with /usr/bin/python
.
So, for example, when I try to pip install appscript
, I get back a cheeky
Requirements already satisfied
But, then, when I open up python
or XCode and try to import appscript
, I get
ImportError: No module named appscript
How do I force pip
to install to whatever distribution is associated with /usr/bin/python
?