本文介绍了在Ubuntu 12.04上安装ReviewBoard的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用easy_install在ubuntu 12.04上安装ReviewBoard.

I'm trying to install ReviewBoard on ubuntu 12.04 using easy_install.

http://www.reviewboard.org/docs/manual/1.7/admin/installation/linux/

我一步一步尝试了上面的说明,但是卡在了easy_install ReviewBoard

I tried above instruction step by step, but stucked in 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

我该如何解决?

推荐答案

我在尝试升级评论板时遇到了完全相同的错误.似乎分发和setuptools发生了冲突.

I got the exact same error trying to upgrade reviewboard. It seems distribute and setuptools are clashing.

我通过像这样简单地删除分发蛋来解决它:

I fixed it by simply removing the distribute egg like this:

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

这篇关于在Ubuntu 12.04上安装ReviewBoard的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-05 19:29