cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

.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.

7 REPLIES 7

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

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

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