How to Install Keras in Windows?
Last Updated :
23 Jul, 2025
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:
Keras Dependencies:
The Keras library has the following dependencies:
- Numpy
- Pandas
- Scikit-learn
- Matplotlib
- Scipy
- Seaborn
Note: All these dependencies can be manually installed. But if you are missing one or all of these dependencies, they get installed when you run the command to install Keras automatically.
Installing Keras Library on Windows using Conda:
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 keras
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
Verifying Keras Installation on Windows using Conda:
To verify if Keras library has been successfully installed in your system run the below command in Anaconda Powershell Prompt:
conda list keras
You'll get the below message if the installation is complete:

Installing Keras Library on Windows using PIP:
Users who prefer to use pip can use the below command to install the Keras library on Windows:
pip install keras
You will get a similar message once the installation is complete:

Verifying Keras Installation on Windows using PIP:
To verify if Keras library has been successfully installed in your system run the below command in your command prompt:
python -m pip show keras
You'll get the below message if the installation is complete:

Similar Reads
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 RubyGems in Windows? RubyGems is a Ruby package manager that provides Ruby programs and libraries (also known as Gems) and the tools associated with installing and managing Ruby packages and servers. The Ruby package management, RubyGems, makes it simple to install, manage, and utilize tools and libraries for Ruby appli
3 min read
How to Install Scikit-Learn in Windows? 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-requisitesBefore starting, th
2 min read
How to Install Krita on Windows? Krita is a free and open-source raster graphics editor designed primarily for digital painting and 2D animation. It runs on Windows, macOS, Linux, Android, and Chrome OS. It is developed by Krita foundations. It is written in C++ using Qt. It is released on 21 June 2005. The size of the software is
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 conda in Windows? Anaconda is open-source software that contains Jupyter, spyder, etc that is used for large data processing, data analytics, heavy scientific computing. Conda is a package and environment management system that is available across Windows, Linux, and MacOS, similar to PIP. It helps in the installatio
2 min read