На новой машинке чудеса с PIP и MacPorts следующего вида - система не видит установленного PIP через MacPorts
Диагноз
$ pip Traceback (most recent call last): File "/usr/local/bin/pip", line 5, infrom pkg_resources import load_entry_point File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in working_set.require(__requires__) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: pip==1.0.2
Самолечение
Не совсем грамотно, но вроде помогло - установка PIP через easy_installcurl -O http://python-distribute.org/distribute_setup.py sudo python distribute_setup.py sudo easy_install pip