我正在尝试使用 Neomodel 源代码以使其与 Neo4j 3.0.1 一起使用。我正面临着这个错误,说为节点创建提供的参数不是地图。
{u'errors': [{u'message': u'为节点创建提供的参数不是 Map', u'code': u'Neo.ClientError.Statement.TypeError'}], u'results': [ ]}
Traceback (most recent call last):
File "/Users/adaggula/Documents/workspace/Collective[i]-pve/test_revised.py", line 32, in <module>
jim = Person(name='jim5').save()
File "/Users/adaggula/workspace/python/pve/lib/python2.7/site-packages/neomodel/signals.py", line 25, in hooked
val = fn(self, *args, **kwargs)
File "/Users/adaggula/workspace/python/pve/lib/python2.7/site-packages/neomodel/core.py", line 160, in save
self._id = self.create(self.__properties__)[0]._id
File "/Users/adaggula/workspace/python/pve/lib/python2.7/site-packages/neomodel/core.py", line 290, in create
results = db.cypher_query(query, params)
File "/Users/adaggula/workspace/python/pve/lib/python2.7/site-packages/neomodel/util.py", line 219, in cypher_query
results = self._execute_query(query, params)
File "/Users/adaggula/workspace/python/pve/lib/python2.7/site-packages/neomodel/util.py", line 212, in _execute_query
results = self.session.cypher.execute(query, params)
File "/Users/adaggula/workspace/python/pve/lib/python2.7/site-packages/py2neo/cypher/core.py", line 113, in execute
results = tx.commit()
File "/Users/adaggula/workspace/python/pve/lib/python2.7/site-packages/py2neo/cypher/core.py", line 325, in commit
return self.post(self.__commit or self.__begin_commit)
File "/Users/adaggula/workspace/python/pve/lib/python2.7/site-packages/py2neo/cypher/core.py", line 280, in post
raise self.error_class.hydrate(error)
File "/Users/adaggula/workspace/python/pve/lib/python2.7/site-packages/py2neo/cypher/error/core.py", line 54, in hydrate
error_cls = getattr(error_module, title)
AttributeError: 'module' object has no attribute 'TypeError'
我应该进行哪些更改才能使其正常工作?