执行:
easy_install pip==9.0.1
重试,如果报错:
Traceback (most recent call last):
File "/usr/bin/easy_install", line 5, in <module>
from pkg_resources import load_entry_point
File "/opt/soft/distribute-0.7.3/pkg_resources.py", line 2993, in <module>
parse_requirements(__requires__), Environment()
File "/opt/soft/distribute-0.7.3/pkg_resources.py", line 624, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: distribute==0.6.10
则需要安装distribute包
wget http://pypi.python.org/packages/source/d/distribute/distribute-0.6.10.tar.gz
cd distribute-0.6.10
python setup.py install
之后问题即可解决。
方法摘录自:https://blog.csdn.net/daiyutage/article/details/69945850
未经允许不得转载:阿藏博客 » pip安装pkg_resources.DistributionNotFound: pip==9.0.1 解决办法