请问neo4j和py2neo的推荐版本是?
rrjia opened this issue · 2 comments
rrjia commented
我再进行测试的时候,py2neo新建node时 报了一下错误:
neo4j Can't begin a new transaction
chengming1108 commented
请问解决了吗。我也遇到这个问题了
rrjia commented
我改了一下代码,py2neo 4.2.0,用的是这版本,
连接neo4j的方式修改如下:
# self.graph = Graph("http://localhost:7474", username="neo4j", password="neo4j")
self.graph = Graph("http://localhost:7474", auth=("neo4j", "neo4j"), name=None)