Thanks Tobias. Copying the jars into 'dependencies' didn't help. I still get the same exception when I try to run --help (or any other setup.py command).
I'm pretty happy with the REST interface. It is much simpler for me to manipulate the graph (using python) that way. Neo4j 1.2 and the REST interface seem to be much faster than neo4j-python (1.1) was. Also they work on an NFS disk. (The older neo4j-python configuration I was using would not work over NFS -- "too slow". And since I didn't have local disk at my disposal I was using /tmp, with periodic tar/bzip backups to my NFS disk. It was a less than optimal, and never destined to be a "production" solution. The new architecture has significantly more promise.) I think I'll stick with the REST interface for the near future. > The Python drivers for Neo4j are in dire need of some attention. They will > get that long overdue attention starting end of January. 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 > -- Rick Otten [email protected] O=='=+ _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

