Python is becoming a popular programming language for both new and experienced developers. Python is a flexible and versatile programming language with strengths in scripting, automation, data analysis, machine learning, and back-end development.
In this tutorial, we’ll install Python on Windows 11 using the Python installer for Windows.
Prerequisites
You’ll need a computer running Windows 11 with administrative privileges and an internet connection.
Installation Steps
Step 1 – Download the Python Installer
Go to the official website of Python – Python download page for Windows.
Click on the latest version of Python for Windows. Click the appropriate link for your system to download the executable file: Windows installer (64-bit) or Windows installer (32-bit). In this case, I have selected – Python 3.11.2

Step 2 – Running the Executable Installer
After the installer is downloaded, double-click the .exe file, for example, “python-3.11.2-amd64 .exe“, to run the Python installer.

If you want to save the installation file in a different location, click on Customize installation; otherwise, continue with Install Now.

Once the installation is complete, the below pop-up box will appear: Setup was successful.

Step 3 – Adding Python to the Environment Variables
Go to Start and enter View advanced system settings in the search bar. Click on View advanced system settings.
In the System Properties dialog, click the Advanced tab and then click Environment Variables.

Depending on your installation:
- If you selected Install for all users during installation, select Path from the list of System Variables and click Edit.
- If you didn’t select Install for all users during installation, select Path from the list of User Variables and click Edit.
Click the “New” button and enter the Python directory path, then click the “OK” button until all the dialogs are closed.

Step 4 – Verify the Python Installation
You can verify whether the Python installation is successful either through the command line or through the Integrated Development Environment (IDLE) application if you chose to install it.
Go to Start and enter cmd in the search bar. Click Command Prompt.
Enter the following command in the command prompt:
python --version

PIP gets installed along with python, and you can check the same in the command line as follows.
pip --version

We can also check the version of Python by opening the IDLE application.
Go to Start and search for Python. You can see Python 3.11 (64-bit) and IDLE. Let’s open IDLE, which is the short form for Integrated Development Environment, and run a simple print statement.

Congratulations!! We are able to install Python on Windows 11.