neo4j - Error running cypher query with Python 3.4 -


when run in python 3.4 pyneo 2.0.7 & neo4j 2.2.1 got error typeerror: 'str' object not callable 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) 

i solved problem rebooting neo4j server doesn't make me understand happened works.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -