Reputation: 9600
Problem is that default command python
is used by osx python. That means for example if you install py-pil from macports, osx python won't find this module. after python27
installed with macports, I have command called python-2.7
available. Earlier there was utility called python_select
now it's completely gone in a vain, look:
Romans-MacBook:~ holms$ ls /opt/local/bin/python*
/opt/local/bin/python2.7 /opt/local/bin/python2.7-config /opt/local/bin/pythonw2.7
Romans-MacBook:~ holms$ sudo port -v install python_select
---> Cleaning python_select
---> Removing work directory for python_select
I even tried to remove macports completely from system and reinstalled everything, still the same result, python_select is gone in a vain. If anybody could confirm this by trying to download macports and install python27 and use python_select it would be great. because I need to write some compability for osx for some software... and it would be great to know what's the situation with python_select in osx lion.
So there would be two questions:
python
command to use macport python and not osx one. Upvotes: 2
Views: 520
Reputation: 80041
MacPorts removed the python_select
functionality, use port select
instead.
See:
Upvotes: 2