.ModuleNotFoundError: No module named 'py2neo'

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-3-993ba54a3148> in <module>()
      1 from py2neo import Graph
      2 import pandas as pd
      3 import matplotlib
      4 import matplotlib.pyplot as plt
      5 

ModuleNotFoundError: No module named 'py2neo'

when following Neo4j online training for Data Science.

Got the same issue, can someone help please !!

Hello Vinay,

Welcome to the Neo4j Community!

Make sure you have imported the py2neo library as described in the first notebook:

!pip install py2neo==4.1.3 pandas matplotlib sklearn

Elaine

1 Like

I have the same error, while doing this
from py2neo import Graph

Here is what I got, while I already pip the Py2neo

Traceback (most recent call last):
File "", line 1, in
File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'py2neo'

Please install proper version of Graph data science library.
Thanks
G Sameer

1 Like

Do you mean the Neo4j version?

Please install below library

py2neo library as described in the first notebook:

!pip install py2neo==4.1.3 pandas matplotlib sklearn

Thanking you
Sameer Sudhir G

Very appreciate it. it works now.

Thank you!
Hanan