lazypredict
lazypredict copied to clipboard
No module named 'lazypredict.Supervised'; 'lazypredict' is not a package
I've already installed Lazypredict; however, I get the following error:
Python 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.7.0 -- An enhanced Interactive Python. Type '?' for help.
PyDev console: using IPython 8.7.0
Python 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)] on win32
runfile('C:/Program Files/JetBrains/Pycharm/Temple/Machine_Learning/Lazy_Predict/lazypredict.py', wdir='C:/Program Files/JetBrains/Pycharm/Temple/Machine_Learning/Lazy_Predict')
Traceback (most recent call last):
File "C:\Users\Acer\AppData\Local\Programs\Python\Python39\lib\site-packages\IPython\core\interactiveshell.py", line 3433, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
Hi @JavadMAlizadeh , I had a similar problem while working in a virtual environment. I solved it by doing !pip install lazypredict
inside the jupyter notebook I was working from.
@JavadMAlizadeh I was facing the same issue and I found out the error. It is because we had named our files "lazypredict.py", which confused the interpreter. Changing the filename will work just fine