随笔记录

ValueError:The following settings are not supported :{‘username‘: ‘neo4j“}

孟宝亮 错误 180

graph = Graph(“http://localhost:7474″, username=”neo4j”, password=”neo4j”) 报错

ValueError:The following settings are not supported :{‘username‘: ‘neo4j“}

解决:

使用如下方式

graph = Graph(profile=’neo4j://localhost:7474′, auth=(‘neo4j’, ‘neo4j’))

或者降低 py2neo 的版本

回复

我来回复
  • 暂无回复内容

已关闭回复。