未能安装PY2NEO


1

我想在CentOS服务器上安装py2neo。它失败并显示以下消息:

File "setup.py", line 29, in <module>
from py2neo import __author__, __email__, __license__, __package__, __version__
File "/root/Downloads/py2neo-2.0/py2neo/__init__.py", line 27, in <module>
from py2neo.core import *
File "/root/Downloads/py2neo-2.0/py2neo/core.py", line 1313
new_inst.__stale.update({"labels", "properties"})
                                 ^
SyntaxError: invalid syntax

无论我使用pip install py2neo还是在下载模块后手动安装,都会发生这种情况。当我在MacBook上尝试相同的命令时一切顺利。

有人可以帮我吗?

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.