Neo4j & JPype安装问题
我使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此解决方案可能有效: 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.