How to install Python on Windows?
Last Updated :
25 Jul, 2024
Python is a high-level programming language that has become increasingly popular due to its simplicity, versatility, and extensive range of applications. The process of How to install Python in Windows, operating system is relatively easy and involves a few uncomplicated steps.
This article aims to take you through the process of downloading and installing Python on your Windows computer. To Install Python on Linux or Mac visit the below link:
How to Install Python in Windows?
We have provided step-by-step instructions to guide you and ensure a successful installation. Whether you are new to programming or have some experience, mastering how to install Python on Windows will enable you to utilize this potent language and uncover its full range of potential applications.
To download Python on your system, you can use the following steps
Step 1: Select Version to Install Python
Visit the official page for Python https://www.python.org/downloads/ on the Windows operating system. Locate a reliable version of Python 3, preferably version 3.10.11, which was used in testing this tutorial. Choose the correct link for your device from the options provided: either Windows installer (64-bit) or Windows installer (32-bit) and proceed to download the executable file.

Python Homepage
Step 2: Downloading the Python Installer
Once you have downloaded the installer, open the .exe file, such as python-3.10.11-amd64.exe, by double-clicking it to launch the Python installer. Choose the option to Install the launcher for all users by checking the corresponding checkbox, so that all users of the computer can access the Python launcher application.Enable users to run Python from the command line by checking the Add python.exe to PATH checkbox.

Python Installer
After Clicking the Install Now Button the setup will start installing Python on your Windows system. You will see a window like this.

Python Setup
Step 3: Running the Executable Installer
After completing the setup. Python will be installed on your Windows system. You will see a successful message.

Python Successfully installed
Step 4: Verify the Python Installation in Windows
Close the window after successful installation of Python. You can check if the installation of Python was successful by using either the command line or the Integrated Development Environment (IDLE), which you may have installed. To access the command line, click on the Start menu and type “cmd” in the search bar. Then click on Command Prompt.
python --version

Python version
You can also check the version of Python by opening the IDLE application. Go to Start and enter IDLE in the search bar and then click the IDLE app, for example, IDLE (Python 3.10.11 64-bit). If you can see the Python IDLE window then you are successfully able to download and installed Python on Windows.

Python IDLE
Getting Started with Python
Python is a lot easier to code and learn. Python programs can be written on any plain text editor like Notepad, notepad++, or anything of that sort. One can also use an Online IDE to run Python code or can even install one on their system to make it more feasible to write these codes because IDEs provide a lot of features like an intuitive code editor, debugger, compiler, etc. To begin with, writing Python Codes and performing various intriguing and useful operations, one must have Python installed on their System.
You can refer to this article to learn more about Python – Python Tutorial
How to install Python on Windows? – FAQs
How to Install Python on Windows?
To install Python on Windows, you need to download the Python installer from the official Python website and run it on your system. The installation process is straightforward and includes options to add Python to your system PATH.
What Are the Steps to Install Python 3 on Windows?
Steps to Install Python 3 on Windows:
- Download the Installer:
- Visit the official Python website: python.org.
- Go to the Downloads section and click on “Download Python 3.x.x” (the latest version).
- Run the Installer:
- Locate the downloaded installer file (
python-3.x.x.exe) and run it.
- Select Installation Options:
- Check the box that says “Add Python to PATH” at the bottom of the installer window.
- Choose “Install Now” for a standard installation or “Customize Installation” to choose specific features and installation location.
- Customize Installation (Optional):
- If you chose “Customize Installation,” select optional features like
pip, tcl/tk, and documentation.
- Choose the installation location or accept the default.
- Complete the Installation:
- The installer will copy the necessary files and set up Python on your system.
- Once the installation is complete, you can close the installer.
How to Verify Python Installation on Windows?
Steps to Verify Python Installation on Windows:
- Open Command Prompt:
- Press
Win + R, type cmd, and press Enter to open the Command Prompt.
- Check Python Version:
- Type
python --version and press Enter.
- You should see the installed Python version, e.g.,
Python 3.x.x.
- Check pip Version:
- Type
pip --version and press Enter.
- This verifies that
pip, the Python package installer, is also installed correctly.
What Are Environment Variables for Python on Windows?
Environment Variables for Python on Windows:
Environment variables are used to configure the environment in which processes run. For Python, you often need to set the PATH environment variable so that you can run Python and pip from the command line. This ensures that Python executables and scripts can be accessed from any command line prompt without specifying their full path.
How to Configure Python Path on Windows?
Steps to Configure Python Path on Windows:
- Add Python to PATH During Installation:
- When running the Python installer, ensure you check the box that says “Add Python to PATH.”
- Manually Add Python to PATH:
- Open the Start menu, search for “Environment Variables,” and select “Edit the system environment variables.”
- In the System Properties window, click on the “Environment Variables” button.
- Under “System variables,” find the
Path variable and click “Edit.”
- Click “New” and add the path to the Python installation directory (e.g.,
C:\Python39) and the Scripts directory (e.g., C:\Python39\Scripts).
- Click “OK” to close all windows.
- Verify PATH Configuration:
- Open Command Prompt.
- Type
python and press Enter to start the Python interpreter. If Python starts, the PATH is configured correctly.
- Type
exit() to exit the Python interpreter.
- Type
pip and press Enter to verify that pip can be called from the command line.
Similar Reads
How to install Python on Windows?
Python is a high-level programming language that has become increasingly popular due to its simplicity, versatility, and extensive range of applications. The process of How to install Python in Windows, operating system is relatively easy and involves a few uncomplicated steps. This article aims to
5 min read
How to Install PyOpenGL on Windows?
PyOpenGL is the most common cross-platform Python binding to OpenGL. In this, article, we will look into the process of installing the PyopenGL Library on Windows. Pre-requisites: The only thing that you need for installing the Scrapy module on Windows are: Python PIP or Conda (depending upon user p
2 min read
How to Install Pyproj on Windows?
Pyproj is an Interface for the cartographic projections and coordinate transformations library (PROJ). In this article, we will look into the process of installing the Pyproj interface on a windows machine. Pre-requisites: The only thing that you need for installing Numpy on Windows are: Python PIP
2 min read
How to Install Python Scrapy on Windows?
Scrapy is a web scraping library that is used to scrape, parse and collect web data. Now once our spider has scrapped the data then it decides whether to: Keep the data.Drop the data or items.stop and store the processed data items. In this article, we will look into the process of installing the Sc
2 min read
How to Install PIP on Windows ?
PIP is a powerful package management system used to install and manage software packages and libraries written in Python. PIP stands for "Preferred Installer Program" or "Pip Installs Packages." To use PIP, you must install Python on your Windows machine. This article provides a step-by-step guide o
5 min read
How to install Python Pycharm on Windows?
Python is a programming language that lets you work quickly and integrate systems more efficiently. We need to have an interpreter to interpret and run our programs. There are certain online interpreters like GFG-IDE, IDEONE CodePad, etc. Running Python codes on an offline interpreter is much more c
2 min read
How to Install pywin32 on Windows?
Pywin32 is a Python extension for windows that is used to access Windows API. In this article, we will look into the process of installing Pywin32 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 preferen
2 min read
How to Install iPython on Windows?
Ipython is a toolkit used for using Python interactively using a Python shell and also provides a Jupyter kernel to work with Python code in Jupyter notebooks. In this article, we will look into the process of installing ipython package on Windows. Pre-requisites: The only thing that you need for in
2 min read
How to Install Eli5 in Python on Windows?
Eli5 is an open-source and cross-platform Python library available for various operating systems including Windows, Linux, and macOS, written to easily and quickly debug machine learning classifier models to explain their predictions. It provides support for machine learning frameworks and packages
2 min read
How to Install PIL on Windows?
In this article, we will look into the various methods of installing the PIL package on a Windows machine. Prerequisite:Python PIP or Ananconda (Depending upon your preference)For PIP Users: Open up the command prompt and use the below command to install the PIL package: pip install Pillow The follo
1 min read
How to Install PyBrain on Windows?
PyBrain is an open-source and free-to-use Python-based Machine Learning Library. Its main purpose is to provide machine learning tasks with flexible, easy-to-use, still a very powerful algorithms. It also provides a wide range of predefined environments which is used to test and compare different ty
2 min read
How to Install PyYAML on Windows?
YAML is a data serialization format that enables interaction with scripts. It is generally used to create configuration files, as it prioritizes human readability, and is therefore preferred over JSON. PyYAML is a tool that parses and emits YAML for Python. It has many useful features, like an API f
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 Pygame on Windows ?
In this article, we will learn how to Install PyGame module of Python on Windows. PyGame is a library of python language. It is used to develop 2-D games and is a platform where you can set python modules to develop a game. It is a user-friendly platform that helps to build games quickly and easily.
2 min read
How to Install Gekko In Python on Windows?
In this article, we will learn how to install Gekko in Python on Windows . GEKKO is a Python package for machine learning and optimization of mixed-integer and differential-algebraic equations. It is coupled with large-scale solvers for linear, quadratic, nonlinear, and mixed-integer programming (LP
2 min read
How to Install python-dateutil on Windows?
The dateutil package, which is available in Python 2 and Python 3, adds a lot of features to the conventional DateTime module. Or, to put it another way, it extends Python's DateTime module. It calculates relative deltas such as next month, next year, previous week, and so on. Its time zone data com
2 min read
How to install Ruby on Windows?
Prerequisite: Ruby Programming Language Before we start with the installation of Ruby on Windows, we must have first-hand knowledge of what Ruby is?. Ruby is a pure Object-Oriented language developed by Yukihiro Matsumoto (also known as Matz in the Ruby community) in the mid-1990s in Japan. Everythi
2 min read
How to Install Seaborn on Windows?
In this article, we will look into the process of installing Python Seaborn on Windows. Prerequisites:PythonPIP or conda (Depending upon user preference)For PIP Users: PIP users can open up the command prompt and run the below command to install Python Seaborn Package on Windows: pip install Seaborn
1 min read
How to Install Pyglet in python on Windows?
The pyglet library is a cross-platform windowing and multimedia library for Python, intended for developing games and other visually rich applications. In this article, we will look into the process of installing Pyglet in Python on Windows. Pre-requisites: The only thing that you need for installin
2 min read