python-Ubuntu 12.04上的ReviewBoard安装
作者:互联网
我正在尝试使用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
我该如何解决?
解决方法:
我在尝试升级评论板时遇到了完全相同的错误.似乎分发和setuptools冲突.
我通过简单地删除分发蛋来解决此问题,如下所示:
$sudo rm -r /usr/local/lib/python2.7/dist-packages/distribute*
标签:review-board,ubuntu-12-04,python 来源: https://codeday.me/bug/20191123/2064562.html