I am trying to install py2neo on a CentOS server. It fails with the following message:
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
This happens whether I am using pip install py2neo
or I install manually after downloaded the module.
When I try the same command on a MacBook everything goes well.
Can someone assist me?