ReviewBoard installation on ubuntu 12.04

喜欢而已 提交于 2019-12-07 17:58:52

问题


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

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

I tried above instruction step by step, but stucked in easy_install ReviewBoard

Error message is this:

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

How can I fix it?


回答1:


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*


来源:https://stackoverflow.com/questions/17614090/reviewboard-installation-on-ubuntu-12-04

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!