Neo4j& JPype安装问题 [英] Neo4j & JPype Installation Issue

查看:60
本文介绍了Neo4j& JPype安装问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Ubuntu 10.10,在继续安装之前,我安装了JPype和openjdk-6-jdk&所有的依赖都使用突触.

I use Ubuntu 10.10 and before continuing with the installation, I installed JPype and openjdk-6-jdk & all its dependencies using synaptic.

我着手安装Neo4j&如上所述的Python:

I proceeded with the install of Neo4j & Python as mentioned on:

http://components.neo4j.org/neo4j.py/0.1-SNAPSHOT/

但是当我这样做

sudo python setup.py install

在neo4j-python文件夹中,给出了以下错误输出

in the neo4j-python folder, it gave the following error output

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

This solution might work: https://gist.github.com/809425

有关通过Python使用Neo4j的其他方式,请参见 http://www.delicious.com/neo4j /drivers + python http://www.delicious.com/neo4j/python获取更多信息.

For other ways of using Neo4j with Python see http://www.delicious.com/neo4j/drivers+python and maybe http://www.delicious.com/neo4j/python to get more information.

这篇关于Neo4j&amp; JPype安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆