我正试图安装一个包,其中一个说明如下,但我得到一个错误。
easy_install -U distribute pip
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/easy_install", line 9, in <module>
load_entry_point('distribute', 'console_scripts', 'easy_install')()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-3.4.1-py2.7.egg/pkg_resources.py", line 351, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-3.4.1-py2.7.egg/pkg_resources.py", line 2362, in load_entry_point
raise ImportError("Entry point %r not found" % ((group,name),))
ImportError: Entry point ('console_scripts', 'easy_install') not found
make: *** [install] Error 1
看看其他类似的问题,我仍然没有找到解决方案,但似乎是一些Python版本或安装冲突?
所以我也犯了这个错误,我想我会加上这个,以防别人在这个问题上犯错。我试着用sudo卸载pip,但没有成功。我看了看这条路,它看起来像是从我的垃圾桶里被存取的,我清理了我的垃圾桶,我的垃圾桶开始工作,没有任何问题。我还通过finder搜索了我的笔记本电脑,以确保我删除了除项目文件夹以外的所有pip实例。它
问题可能是安装了多个版本,这源于通过aptitude和pip/easy_install安装。这帮了我:
然后重新安装。。。
相关问题 更多 >
编程相关推荐