evidentlyai / evidently

Evidently is ​​an open-source ML and LLM observability framework. Evaluate, test, and monitor any AI-powered system or data pipeline. From tabular data to Gen AI. 100+ metrics.
https://www.evidentlyai.com/evidently-oss
Apache License 2.0
5.36k stars 594 forks source link

No module named 'evidently.dashboard'; 'evidently' is not a package #49

Closed edumagol closed 3 years ago

edumagol commented 3 years ago

Hi @elenasamuylova and @emeli-dral ,

Hope you guys are fine.

We were trying evidently for the first time in a Windows machine, and after installing it using command pip install evidently and trying to run it (on jupyter and also on VSCode), we got the following error:

'evidently.dashboard'; 'evidently' is not a package

See the print screen below: image

We also found that the installed package, when I tried pip list was: evidently 0.1.22.dev0

Hope the above information can help you to help me.

All the best, Edu

emeli-dral commented 3 years ago

Hi @edumagol , Looks like it happened because you have file ‘evidently.py’ at the project directory. This is why when you are trying to import Dashboard from the evidently.dashboard, it refers to the ‘evidently.py’ and says that it is not a package. Thus, I believe renaming of the ‘evidently.py’ or moving it elsewhere should help.

edumagol commented 3 years ago

Hi @emeli-dral , sure... totally my mistake...what I shame of my self...lol...omg... how I commited such mistake... sorry for disturbing you guys with that! I should have checked that before... my apologies again. All the best girls!

emeli-dral commented 3 years ago

@edumagol Awesome that it is solved and glad it works! Will be looking forward to your feedback on the tool :)