Re: [Neo4j] neo4j python import error

2011-09-23 Thread Jacob Hansson
Great :) If you run into any other problems, or have ideas for improvements, please feel free to post them here on the mailing list, or to create issues with the project bug tracker: https://github.com/neo4j/python-embedded/issues /Jake On Fri, Sep 23, 2011 at 10:57 AM, bmeagle wrote: > I've

Re: [Neo4j] neo4j python import error

2011-09-23 Thread bmeagle
I've sorted the DLL issues, now I can import neo4j along with my os.environ path additions. On Fri, Sep 23, 2011 at 10:55 AM, Jacob Hansson-2 [via Neo4j Community Discussions] wrote: > For the DLL issues, see the windows section of the installation > instructions, here: > > > http://docs.neo4j.o

Re: [Neo4j] neo4j python import error

2011-09-23 Thread Jacob Hansson
For the DLL issues, see the windows section of the installation instructions, here: http://docs.neo4j.org/chunked/1.5-SNAPSHOT/python-embedded-installation.html Keep me posted! Jake On Fri, Sep 23, 2011 at 10:37 AM, bmeagle wrote: > On Thu, Sep 22, 2011 at 3:37 PM, Jacob Hansson-2 [via Neo4j C

Re: [Neo4j] neo4j python import error

2011-09-23 Thread bmeagle
On Thu, Sep 22, 2011 at 3:37 PM, Jacob Hansson-2 [via Neo4j Community Discussions] wrote: > Update on this: > > I just pushed this to master, you will be able to follow the build via our > build control panel. When the "deploy Embedded Python" project has run > successfully, the updated version sh

Re: [Neo4j] neo4j python import error

2011-09-22 Thread Jacob Hansson
Update on this: I just pushed this to master, you will be able to follow the build via our build control panel. When the "deploy Embedded Python" project has run successfully, the updated version should be available on pypi for download. There is currently almost 200 builds queued up, so it may ta

Re: [Neo4j] neo4j python import error

2011-09-22 Thread Jacob Hansson
On Thu, Sep 22, 2011 at 3:16 PM, bmeagle wrote: > I manually added the path to the CLASSPATH windows environment variable via > system settings. > > >>> print os.environ['CLASSPATH'] > .;C:\Program > > Files\Java\jre1.6.0_07\lib\ext\QTJava.zip;C:\Python27\Lib\site-packages\neo4j\javalib\ > > chec

Re: [Neo4j] neo4j python import error

2011-09-22 Thread bmeagle
I manually added the path to the CLASSPATH windows environment variable via system settings. >>> print os.environ['CLASSPATH'] .;C:\Program Files\Java\jre1.6.0_07\lib\ext\QTJava.zip;C:\Python27\Lib\site-packages\neo4j\javalib\ checked it: >>> libpath = 'C:\\Python27\\Lib\\site-packages\\neo4j\\j

Re: [Neo4j] neo4j python import error

2011-09-22 Thread Jacob Hansson
No, the sys.path thing won't work, JPype doesn't pull it's java libs off of sys.path (unfortunately). Instead, it needs an explicit java classpath passed to it when it gets instantiated. Neo4j-embedded sets that classpath either on it's own (which may be broken on windows, I'm investigating that n

Re: [Neo4j] neo4j python import error

2011-09-22 Thread bmeagle
I tried adding C:\Python27\Lib\site-packages\neo4j\javalib to sys.path but that didn't work, see below. I am running python 2.7 on win xp I installed neo4j-embedded-1.5.dev104.win32.exe >>> import neo4j Traceback (most recent call last): File "", line 1, in import neo4j File

Re: [Neo4j] neo4j python import error

2011-09-22 Thread Jacob Hansson
Hmm, I think the error you are getting is the result of neo4j-embedded not finding java jars that it needs (I'll add it to the backlog to add an explicit check for that, rather than failing like this). Normally, neo4j-embedded will set its classpath itself, pointing to the java jars it comes bundl

[Neo4j] neo4j python import error

2011-09-22 Thread bmeagle
Hi all, Decided to give neo4j via python a try but alas: from neo4j import GraphDatabase Traceback (most recent call last): File "", line 1, in from neo4j import GraphDatabase File "C:\Python27\lib\site-packages\neo4j\__init__.py", line 29, in from neo4j.core import Grap