The Python drivers for Neo4j are in dire need of some attention. They will get that long overdue attention starting end of Januari. Until then, if all you want to do is use Neo4j 1.2 with the python drivers I believe if you create a directory called "dependencies" (next to the setup.py file) and put the neo4j jar-files there (the ones from the lib directory of the Neo4j download) it should work after applying the attached patch (it omits downloading dependencies).
Cheers, Tobias On Tue, Jan 4, 2011 at 9:32 PM, Rick Otten <[email protected]> wrote: > My older 1.1 neo4j python install got wiped out, unfortunately. > > So I thought I'd take advantage of the opportunity to set up the latest > neo4j python for 1.2. > > I don't recall how I did it last time, but I had to jump through a lot of > hoops this time around to find a system with an svn client attached to the > Internet, or rather to a system where I had enough authority to be able to > install an svn client... > > (And then once I got the distribution downloaded, there were more hoops > and hops to get it back to where I could work with it.) > > Is there any way in the future this package could be bundled up made > available via oldie-fashioned http? > > > Anyway, now that I have it, I can't get it to install. I think it is > blowing up when it tries to connect to the Internet to download the jars. > I have the neo4j jars already downloaded. How do I tell it to use my > local copy instead of some remote set? Should I edit lines 95-99 in the > setup.py to put a "file:" url in the pom.xml? > > I tried putting them in my CLASSPATH, but that didn't seem to change > anything. > > > Do I have to put them under an internal webserver to be able to get at > them? > > It would be nice if at least "--help" worked without the apparent download > requirement. > > > $ python ./setup.py --help > Traceback (most recent call last): > File "./setup.py", line 146, in <module> > main() > File "./setup.py", line 134, in main > args[attr] = pom[attr] > File "/projects/n145/src/solaris/neo4j-python/pom.py", line 58, in > __getitem__ > element) > File "/projects/n145/src/solaris/neo4j-python/pom.py", line 57, in > <lambda> > return self.pattern.sub(lambda match:self[match.groupdict()['var']], > File "/projects/n145/src/solaris/neo4j-python/pom.py", line 54, in > __getitem__ > element = self.parent[path] > File "/projects/n145/src/solaris/neo4j-python/pom.py", line 91, in > __getitem__ > return replacement.get(path, lambda s,x:x)(self, self.__pom[path]) > File "/projects/n145/src/solaris/neo4j-python/pom.py", line 56, in > __getitem__ > raise KeyError(path) > KeyError: 'project.artifactId' > > > > I'll probably give up on the more integrated neo4j-python approach for now > and try REST client calls from (plain old) Python instead. Eventually > I'd like to be able to leverage my old scripts though, so any tips you can > give me for getting this latest version to install would be most > appreciated. Thanks! > > > -- > Rick Otten > [email protected] > O=='=+ > > > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > -- Tobias Ivarsson <[email protected]> Hacker, Neo Technology www.neotechnology.com Cellphone: +46 706 534857
_______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

