在Ubuntu 12.04上安装ReviewBoard

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

我该如何修复它?


尝试在这里查看:https://dev59.com/Gmcs5IYBdhLWcg3wcDeZ。如果没有办法解决,重新安装它。请参考此处:https://dev59.com/Z2025IYBdhLWcg3wbVan。 - zhangyangyu
1个回答

3

我在升级reviewboard时遇到了完全相同的错误。似乎是distribute和setuptools发生了冲突。

我通过简单地删除distribute egg来解决此问题,方法如下:

$ sudo rm -r /usr/local/lib/python2.7/dist-packages/distribute*

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接