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

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 ('', 7687) (reason 10061)'

Please help me with the issue. Thank you.


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

I have the same problem.Have you solved it?