If you are new to Python and on your way to trying out in making a Machine Learning script. As you go your way in coding, and decided to test and run the program. (ambien) An error appeared stating “ModuleNotFoundError: No Module Named 'Sklearn'
“. Then this article will provide you the fix in your issue.
This error states that you have not yet downloaded and installed the necessary packages needed in running the library or package you have input. Thus, all you have to do is go to your Terminal
and type in this line.
If you are using Python
and even Anaconda
.
pip install -U scikit-learn scipy matplotlib
And if you are using a Python 3.x
, then use this otherwise.
pip3 install -U scikit-learn scipy matplotlib
That’s it. Hoping this assists you in fixing your error. “ModuleNotFoundError: No Module Named 'Sklearn
“. Thank you!