2013-07-12 145 views
3

我想在Ubuntu 12.04上使用easy_install安裝ReviewBoard。在Ubuntu上安裝ReviewBoard 12.04

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

我嘗試了上述指令一步一步,但在stucked 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 

我怎樣才能解決呢?

+0

嘗試[這裏](http://stackoverflow.com/questions/12858779/easy-install-importerror-entry-point-console:

我通過簡單地刪除這樣的分發雞蛋固定它-scripts,易於安裝 - 沒有)。如果無法修復它,請重新安裝。請參閱[這裏](http://stackoverflow.com/questions/6012246/why-is-python-easy-install-not-working-on-my-mac)。 – zhangyangyu

回答

3

我得到了完全相同的錯誤,試圖升級審查板。看起來分發和setuptools是衝突。

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