Francois,
looking at the stack trace, this seems to be some kind of version
error in Python. What about following the suggestion and disabling
shared mode using the supplied patch?

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

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




Cheers,

/peter neubauer

COO and Sales, Neo Technology

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Mon, Aug 30, 2010 at 12:32 PM, Francois Kassis
<[email protected]> wrote:
> Hi
> I am facing problem during installation of neo4j.py
> after downloading source code and executing "sudo python setup.py install" I
> am getting the below errors:
>
> Traceback (most recent call last):
>  File "setup.py", line 146, in <module>
>    main()
>  File "setup.py", line 143, in main
>    setup(**args)
>  File "/usr/lib/python2.6/distutils/core.py", line 113, in setup
>    _setup_distribution = dist = klass(attrs)
>  File
> "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/setuptools/dist.py",
> line 221, in __init__
>    self.fetch_build_eggs(attrs.pop('setup_requires'))
>  File
> "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/setuptools/dist.py",
> line 245, in fetch_build_eggs
>    parse_requirements(requires), installer=self.fetch_build_egg
>  File
> "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/pkg_resources.py",
> line 544, in resolve
>    dist = best[req.key] = env.best_match(req, self, installer)
>  File
> "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/pkg_resources.py",
> line 786, in best_match
>    return self.obtain(req, installer) # try and download/install
>  File
> "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/pkg_resources.py",
> line 798, in obtain
>    return installer(requirement)
>  File
> "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/setuptools/dist.py",
> line 293, in fetch_build_egg
>    return cmd.easy_install(req)
>  File
> "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/setuptools/command/easy_install.py",
> line 582, in easy_install
>    return self.install_item(spec, dist.location, tmpdir, deps)
>  File
> "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/setuptools/command/easy_install.py",
> line 612, in install_item
>    dists = self.install_eggs(spec, download, tmpdir)
>  File
> "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/setuptools/command/easy_install.py",
> line 802, in install_eggs
>    return self.build_and_install(setup_script, setup_base)
>  File
> "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/setuptools/command/easy_install.py",
> line 1079, in build_and_install
>    self.run_setup(setup_script, setup_base, args)
>  File
> "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/setuptools/command/easy_install.py",
> line 1068, in run_setup
>    run_setup(setup_script, args)
>  File
> "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/setuptools/sandbox.py",
> line 29, in run_setup
>    lambda: execfile(
>  File
> "/usr/local/lib/python2.6/dist-packages/distribute-0.6.14-py2.6.egg/setuptools/sandbox.py",
> line 70, in run
>    return func()
>  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-ZJ2jPK/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-ZJ2jPK/JCC-2.6/jcc/patches/patch.43.0.6c11
>
> See /tmp/easy_install-ZJ2jPK/JCC-2.6/INSTALL for more information about
> shared mode
>
>
> Any clue on how to solve it?
> thx.
>
>
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to