我正在尝试使用easy_install在ubuntu 12.04上安装ReviewBoard。
http://www.reviewboard.org/docs/manual/1.7/admin/installation/linux/
我一步一步地尝试了上面的说明,但坚持easy_install ReviewBoard
错误信息是:
Traceback (most recent call last):
File "/usr/local/bin/easy_install", line 9, in <module>
load_entry_point('distribute', 'console_scripts', 'easy_install')()
File "/usr/local/lib/python2.7/dist-packages/setuptools-0.8-py2.7.egg/pkg_resources.py", line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/setuptools-0.8-py2.7.egg/pkg_resources.py", line 2565, in load_entry_point
raise ImportError("Entry point %r not found" % ((group,name),))
ImportError: Entry point ('console_scripts', 'easy_install') not found
我该如何解决?
答案 0 :(得分:3)
我在尝试升级评论板时遇到了完全相同的错误。似乎分布和设置工具发生了冲突。
我通过简单地删除分配的鸡蛋来修复它:
$ sudo rm -r /usr/local/lib/python2.7/dist-packages/distribute*