问题描述:我看到提示信息“ You are using pip version 8.1.2, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command.”,就执行了 pip install --upgrade pip ,结果升级失败了,执行 pip 命令出现如下报错信息
Utopia:downloads utopia$ pip
Traceback (most recent call last):
File "/usr/local/bin/pip", line 9, in <module>
load_entry_point('pip==8.1.2', 'console_scripts', 'pip')()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 2696, in load_entry_point
raise ImportError("Entry point %r not found" % ((group, name),))
ImportError: Entry point ('console_scripts', 'pip') not found
1
UtopiaCHN OP 重新安装覆盖解决了
|
2
jy01264313 2016-12-27 11:19:28 +08:00 1
为啥要在系统的 python 里面搞,用 pyenv 啊
|
3
IanPeverell 2016-12-27 12:09:58 +08:00 1
也可以试试手动删除,用 easy_install 重新安装
我比较推荐 virtualenv |