0

When I run in Python 3.4 with PyNeo 2.0.7 & Neo4J 2.2.1 I got this error TypeError: 'str' object is not callable but it seems right according PyNeo documentation here (http://py2neo.org/2.0/cypher.html)

from py2neo import  authenticate,Graph
authenticate("localhost:7474", "XXXX", "XXXX")
graph = Graph("http://localhost:7474/db/data")
query = "MATCH (n) RETURN n LIMIT 10"
result = graph.cypher.execute(query)
Stefano Gatti
  • 43
  • 1
  • 6

1 Answers1

0

I solved the problem simply rebooting neo4j server which doesn't make me understand what happened but now it works.

Stefano Gatti
  • 43
  • 1
  • 6