Neo4j& JPype安装问题

时间:2011-08-18 05:58:27

标签: python neo4j

我使用Ubuntu 10.10,在继续安装之前,我安装了JPype和openjdk-6-jdk&使用synaptic的所有依赖项。

我继续安装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'

知道我做错了什么吗?

1 个答案:

答案 0 :(得分:2)

此解决方案可能有效:https://gist.github.com/809425

有关在Python中使用Neo4j的其他方法,请参阅http://www.delicious.com/neo4j/drivers+pythonhttp://www.delicious.com/neo4j/python以获取更多信息。