-->

ReviewBoard installation on ubuntu 12.04

2019-05-11 20:05发布

问题:

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*