3

我正在尝试使用 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

我该如何解决?

4

1 回答 1

3

我在尝试升级评论板时遇到了完全相同的错误。似乎分发和设置工具正在发生冲突。

我通过像这样简单地删除分发鸡蛋来修复它:

$ sudo rm -r /usr/local/lib/python2.7/dist-packages/distribute*
于 2013-10-11T06:14:39.500 回答