How to install Python 3.15 on Windows 11

This guide walks you through downloading the official Python 3.15 installer for Windows 11, running it with the right options, and checking that it works. It suits beginners setting up a new laptop who have never installed a programming language before. You only need an internet connection and a Windows 11 account.

YouTube video: How to install Python 3.15 on Windows 11

Caption availability is unknown. Check the CC control in the YouTube player.

Video length
2 min 49 s
Time to do it
10 minutes
Difficulty
Easy
Steps
7

What you need

Steps

  1. Open your browser and go to python.org, then click the Downloads tab. The site detects Windows 11 and shows the newest Python release, with a button for the 64-bit Windows installer.

  2. Click the Windows installer link to save the.exe file, then double-click it to start setup. Tick the box that says Add python.exe to PATH at the bottom of the window before anything else.

  3. Click Install Now to accept the default location and components, or choose Customize installation to pick a different folder. The default puts Python in your user profile, which works for most people.

  4. Wait while the installer copies the files, then click Close. If setup offers to disable the path length limit, accept it, since that saves trouble with long file names later.

  5. Open the Start menu, type cmd and press Enter to open Command Prompt. Type python --version and press Enter. You should see Python 3.15 printed back.

  6. Type python and press Enter to open the interactive shell. Run a quick test such as print("Hello from Python") and press Enter, then type exit() to leave the shell.

  7. Search for IDLE in the Start menu and open it to write longer scripts. Save your file with a.py extension, then press F5 to run it and see the output in the shell window.

Tips and common mistakes

If typing python opens the Microsoft Store instead, turn off the python.exe app execution alias in Windows Settings under Apps.

Download only from python.org, because repackaged installers can bundle unwanted extra software.

Use the py launcher, as in py --version, when you keep more than one Python version on the same laptop.

Avoid folders with spaces in the name if you plan to run Python from the command line, to prevent path errors.

Questions

Do I need to uninstall an older Python first?

No. Python 3.15 installs in its own folder alongside older versions, and the py launcher lets you choose which one runs.

Why does the python command not work after installing?

You most likely missed the Add python.exe to PATH checkbox. Run the installer again, choose Modify, and add it, or turn off the Store alias.

Is Python free to use?

Yes. Python is free and open source, including for commercial and personal projects.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Computers & Phones

See all