在Neo4J安装期间出现“共享模式”时出错

时间:2010-08-31 10:22:06

标签: neo4j

我在ubuntu 10.04上安装neo4j.py,执行时遇到以下错误:

$ 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 个答案:

答案 0 :(得分:1)

似乎这是一个python安装问题。如何遵循底部的建议并尝试

  

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