Created
February 3, 2011 12:40
-
-
Save elishowk/809425 to your computer and use it in GitHub Desktop.
how to install neo4j.py component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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