Skip to content

Instantly share code, notes, and snippets.

@elishowk
Created February 3, 2011 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elishowk/809425 to your computer and use it in GitHub Desktop.
Save elishowk/809425 to your computer and use it in GitHub Desktop.
how to install neo4j.py component
* 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 !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment