2010-08-31 125 views
1

我在Ubuntu 10.04安裝neo4j.py和我得到了以下錯誤時「共享模式」在執行:錯誤與Neo4j的安裝

$ sudo python setup.py install 

Traceback (most recent call last): 
    (...) 
    File "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/setuptools/sandbox.py", line 31, in <lambda> 
    {'__file__':setup_script, '__name__':'__main__'} 
    File "setup.py", line 172, in <module> 

    File "/tmp/easy_install-p8ABhF/JCC-2.6/helpers/linux.py", line 64, in patch_setuptools 
NotImplementedError: 

Shared mode is disabled, setuptools patch.43.0.6c11 must be applied to enable it 
or the NO_SHARED environment variable must be set to turn off this error. 

    sudo patch -d /usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg -Nup0 < /tmp/easy_install-p8ABhF/JCC-2.6/jcc/patches/patch.43.0.6c11 

See /tmp/easy_install-p8ABhF/JCC-2.6/INSTALL for more information about shared mode. 

如何解決它的任何線索? thx

回答

1

似乎這是一個python安裝問題。關於底部以下的建議和嘗試

須藤補丁-d /usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg -Nup0 < /什麼TMP/easy_install的-p8ABhF/JCC-2.6/JCC /補丁/ patch.43.0.6c11

+0

喜彼得, 有電流路徑上沒有文件: /tmp/easy_install-p8ABhF/JCC-2.6/jcc/修補程序/修補程序.43.0.6c11 – 2010-09-01 06:01:06

+0

通過安裝JCC庫文件解決問題 $ sudo apt-get install JCC – 2010-09-02 06:06:29