我使用Ubuntu 10.10,在继续安装之前,我使用synaptic安装了JPype和openjdk-6-jdk及其所有依赖项。
我进行了Neo4j和Python的安装,具体说明如下:
http://components.neo4j.org/neo4j.py/0.1-SNAPSHOT/
但是当我这样做
sudo python setup.py install
在neo4j-python文件夹中,它给出了以下错误输出
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 "/home/aman/Softwares/neo4j-python/pom.py", line 58, in __getitem__ element) File "/home/aman/Softwares/neo4j-python/pom.py", line 57, in <lambda> return self.pattern.sub(lambda match:self[match.groupdict()['var']], File "/home/aman/Softwares/neo4j-python/pom.py", line 54, in __getitem__ element = self.parent[path] File "/home/aman/Softwares/neo4j-python/pom.py", line 91, in __getitem__ return replacement.get(path, lambda s,x:x)(self, self.__pom[path]) File "/home/aman/Softwares/neo4j-python/pom.py", line 56, in __getitem__ raise KeyError(path) KeyError: 'project.artifactId'
知道我在做什么错吗?
此解决方案可能有效:https : //gist.github.com/809425
有关将Neo4j与Python结合使用的其他方法,请参见http://www.delicious.com/neo4j/drivers+python以及http://www.delicious.com/neo4j/python以获得更多信息。