Complete Guide: Installing and Configuring Python 3 on Windows 11

Author: Rabi Alaya

Last Updated: February 10, 2025

This guide will walk you through installing Python 3 on Windows 11, adding it to PATH, and verifying the installation using PowerShell. By the end, you’ll be able to run Python scripts and check your installation with simple commands.

Step 1: Download Python 3

Open your web browser and go to the official Python website: https://www.python.org/downloads/

Python Homepage

Click the “Download Python 3.x.x” button under “Download the latest version for Windows” (this will download the latest stable version).

Step 2: Install Python 3

Open your downloads folder, then double click on the installer “python-3.x.x-amd64.exe”.

Once the installer is open:

Python Installer
Step 3: Verify Python Installation in PowerShell

Open PowerShell.

Run the command python --version or python3 --version.

If your output is something like “Python 3.x.x” then Python was installed and configured correctly. You are good to go! 😊

Python Version

If your output is something like “Python was not found …” or “Python is not recognized …”, restart your computer and run python --version or python3 --version again. If it still does not work, move on to step 4 :(

Step 4: Add Python to Environment Variables

Open Windows Search and type "Environment Variables", then select "Edit the system environment variables".

Environment Variables

Select “Environment Variables” near the bottom of the screen.

Environment Variables

Double click “Path” under “User variables for your_username”.

Click “New”.

Write the PATH you recorded in Step 2, adding a “\Scripts” to the end of it. For example, if your path was C:\Users\rabia\AppData\Local\Programs\Python\Python313, then add: C:\Users\rabia\AppData\Local\Programs\Python\Python313\Scripts.

Restart your computer and run python --version or python3 --version.

Back