Error : no module named ‘sklearn’

In this article let’s discuss about Error : no module named ‘sklearn’. Let’s go through the following methods without any delay.

Method 1:

pip install scikit-learn

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!

Method 2 :

#for python 1
pip install -U scikit-learn scipy matplotlib
#for python 3
pip3 install -U scikit-learn scipy matplotlib

Hope the above solution works.

Realted Posts : How to install sklearn