0

我在 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.

关于如何解决它的任何线索?谢谢

4

1 回答 1

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

于 2010-08-31T12:17:42.997 回答