我正在尝试使用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
我怎样才能修好它?
最佳答案
我在升级reviewboard时遇到了同样的错误。似乎是发行版和安装工具冲突了。
我只是简单地移除了分发的鸡蛋,如下所示:
$ sudo rm -r /usr/local/lib/python2.7/dist-packages/distribute*
关于python - 在Ubuntu 12.04上安装ReviewBoard,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/17614090/