How to Install Scikit-Learn in Windows?
Last Updated :
24 Nov, 2023
Scikit Learn is an open-source Python library that implements a range of machine learning, preprocessing, cross-validation, and visualization algorithms using a unified interface. In this article, we will look into how to install the Scikit-Learn library in Windows.
Pre-requisites
Before starting, the following things should be pre-installed on Windows:
Installing Scikit-Learn Library on Windows:
For Conda Users
If you want the installation to be done through conda, open up the Anaconda Powershell Prompt and use the below command:
conda install -c conda-forge scikit-learn
Type y for yes when prompted.
You will get a similar message once the installation is complete:

Make sure you follow the best practices for installation using conda as:
- Use an environment for installation rather than in the base environment using the below command:
conda create -n my-env
conda activate my-env
Note: If your preferred method of installation is conda-forge, use the below command:
conda config --env --add channels conda-forge
For PIP Users
Sklearn pip install can be used for scikit-learn installation. Users who prefer to use pip can use the pip install sklearn command as given below to install the Scikit-Learn library on Windows:
pip install scikit-learn
You will get a similar message once the installation is complete:

Verifying Scikit-Learn Library Installation on Windows:
To verify if Scikit learn library has been successfully installed using pip install sklearn in your system run the below command:
python -m pip show scikit-learn
If the installation is successful, you'll get the following message:
Similar Reads
How to Install Keras in Windows? Keras is a neural Network python library primarily used for image classification. In this article we will look into the process of installing Keras on a Windows machine. Pre-requisites: The only thing that you need for installing Numpy on Windows are: Python PIP or Conda (depending upon user prefere
2 min read
How to Install Nessus in Windows? Nessus is a security scanner tool, provided by Tenable Incorporation. Nessus is among the best tools for remote vulnerability scanning, presently available. It provides many features such as port scanning, vulnerability scanning, visualization of scan results, etc. Before understanding how to instal
3 min read
How to install PyCharm in Windows? PyCharm is the Python development IDE developed by JetBrains. They have developed professional and free community versions of this tool. The first professional version of the tool is paid and available as a trial for 30 days. However, in this article, we will look into the process of downloading the
2 min read
How to Install Scipy in Python on Windows? Scipy is a python library that is useful in solving many mathematical equations and algorithms. It is designed on the top of Numpy library that gives more extension of finding scientific mathematical formulae like Matrix Rank, Inverse, polynomial equations, LU Decomposition, etc. Using its high-leve
2 min read
How to install Scala on Windows? Prerequisite: Introduction to Scala Before, we start with the process of Installing Scala on our System, we must have first-hand knowledge of What the Scala Language is and what it actually does? Scala is a general-purpose, high-level, multi-paradigm programming language. It is a pure object-oriente
3 min read