Neo4j & JPype安装问题

发布于 2024-11-29 22:53:36 字数 1129 浏览 0 评论 0原文

我使用 Ubuntu 10.10,在继续安装之前,我安装了 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'

知道我做错了什么吗?

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

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

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

But when I did

sudo python setup.py install

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'

Any idea what am I doing wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

迷途知返 2024-12-06 22:53:36

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

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

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

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文