nishitpatel01/Fake_News_Detection

ModuleNotFoundError: No module named 'sklearn'

KishorJena opened this issue · 2 comments

Traceback (most recent call last):
  File "prediction.py", line 28, in <module>
    detecting_fake_news(var)
  File "prediction.py", line 19, in detecting_fake_news
    load_model = pickle.load(open('final_model.sav', 'rb'))
ModuleNotFoundError: No module named 'sklearn'
Package       Version
------------- -------
joblib        1.1.0
numpy         1.22.3
pip           22.0.4
scikit-learn  1.0.2
scipy         1.8.0
setuptools    58.1.0
threadpoolctl 3.1.0

pip3 install sklearn

conda install sklearn