Py2neo installed but when tried importing to python and using it gives error


(Netwininfosolutn) #1

I have installed neo4j and py2neo from command prompt windows as : 'pip install py2neo' and 'pip install noe4j'

Now when i try using it in python as : 'from py2neo import Graph' it gets imported completely fine.

But when i use it as : 'graph = Graph()' it gives error as : 'ServiceUnavailable: Failed to establish connection to ('127.0.0.1', 7687) (reason 10061)'

Please help me with the issue. Thank you.


(Bajal) #2

Hi,

Do you have a running neo4j instance listening at that bolt port (7687 , which is the default port)?