py2neo.database.work.ClientError: [Procedure.ProcedureNotFound]

报错:

py2neo.database.work.ClientError: [Procedure.ProcedureNotFound] There is no procedure with the name apoc.refactor.mergeNodes registered for this database instance. Please ensure you’ve spelled the procedure name correctly and that the procedure is properly deployed.

数据库实例中没有apoc.refactor.mergeNodes——

解决办法:

需要安装 APOC 的 jar 包。下载地址:

【1】下载后放到neo4j的安装目录的plugings目录下面(我的是D:\software\neo4j\neo4j-community-3.5.5-windows\neo4j-community-3.5.5\plugins)

【2】修改neo4j.conf文件,在文件最后加上
(我的neo4j.conf在D:\software\neo4j\neo4j-community-3.5.5-windows\neo4j-community-3.5.5\conf)

dbms.security.procedures.unrestricted=algo.*
dbms.security.procedures.unrestricted=apoc.*

你可能感兴趣的:(neo4j)