2010-08-31 126 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