I'm following this tutorial from Druid which is to connect jupyter notebook to druid. When i ran it keep giving me ModuleNotFoundError: No module named 'pydruid'
when i already installed the requirement.
Asked
Active
Viewed 789 times
3

Dzakirin
- 173
- 17
-
Just do 'pip freeze' to check package is installed in your python version. Make sure you installed in correct python version – Narendra Prasath Jun 10 '20 at 04:28
-
@NarendraPrasath from ```pip freeze``` it does show pydruid==0.6.0 . which is the correct latest version – Dzakirin Jun 10 '20 at 04:38
-
Have you tried restarting your kernal and do import. – Narendra Prasath Jun 10 '20 at 04:52
-
Yes i've tried restart kernal. I even tried changing environment to python 2.7 @NarendraPrasath – Dzakirin Jun 10 '20 at 05:04
1 Answers
6
Seems like pydruid 0.6.0 has this issue. Try installing the previous version of pydruid.
pip install pydruid==0.5.9
for workaround. Refer here for the same issue in github.

Narendra Prasath
- 1,501
- 1
- 10
- 20
-
Thank you @Narendra Prasath issue has been resolve as per you suggestion – Dzakirin Jun 10 '20 at 07:31
-
@DzakirinResearch, this issue has been solved in pydruid==0.6.1 version. Check official repo here https://github.com/druid-io/pydruid/issues/220#issuecomment-643107735 – Narendra Prasath Oct 15 '21 at 06:16