开发者

I have problems with installing neo4j.py under Windows

开发者 https://www.devze.com 2023-03-13 02:35 出处:网络
During installation I have following error: File \"C:\\JPYTHONNEO\\pom.py\", line 56, in __getitem__ raise KeyError(path)

During installation I have following error:

File "C:\JPYTHONNEO\pom.py", line 56, in __getitem__
raise KeyError(path)
KeyError: 'project.artifactId'

if I add two lines of code to pom.py:

def __getitem__(self, path):
    element = self.tree.findtext(self.__path(path))
    if element is None:#added  
        element = self.tree.findtext(self.__path('dependencies'))#added 
    if element is None:
        element = self.tree.findtext(self.__path('properties.' + path))
    if element i开发者_如何学Pythons None and self.parent is not None:
        element = self.parent[path]
    if element is None:
        raise KeyError(path)
    return self.pattern.sub(lambda match:self[match.groupdict()['var']], element)

I get following error despite the fact that I ve python 2.7 installed.

EnvironmentError: Neo4j.py installation requirements unfulfilled.

 * For Jython, the source installation requires Jython version 2.5.
 * For Jython 2.2 you can still install pre-packaged binary distributions.
   These can be obtained at http://components.neo4j.org/neo4j.py/
 * For Python, the source installation requires Python 2.5.
0

精彩评论

暂无评论...
验证码 换一张
取 消