public
Created

how to install neo4j.py component

  • Download Gist
neo4j.py on debian
1 2 3 4 5 6 7 8 9 10 11 12
* install jpype and maven:
sudo apt-get install python-jpype mvn2
* set $JAVA_HOME in your .bashrc or environment:
export JAVA_HOME="/usr/lib/jvm/java-6-sun/"
OR
export JAVA_HOME="/usr/lib/jvm/java-6-openjdk/"
* download it from : http://components.neo4j.org/neo4j.py/
* edit pom.xml, removing the "<parent>" tag at the beginning
* execute : mvn install
* as the setup.py provided with neo4j.py is broken, you should copy the src/main/python/neo4j directory either with your python system librairies or along with your code to get it imported locally
 
Done !

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.