How to Install Python on Windows 11 (2026 Guide)

To install Python on Windows 11 today, get the Python install manager from python.org/downloads or the Microsoft Store, then open a terminal and run py install 3.14 (or just type python, which installs the latest version the first time):

winget install Python.PythonInstallManager    # or download it from python.org
py install 3.14                                # add a Python version
python --version                               # check it works

The install steps follow the official Python 3.14 documentation. The verification screenshots come from my own Windows 11 machine running Python 3.12.5.

We’ll cover the install manager, the older full installer and why it’s going away, checking PATH and pip, creating your first virtual environment, and fixing the usual “python is not recognized” problems.

Step 1: Get the Python install manager

Since Python 3.14, the CPython team recommends the Python install manager for Windows. The python.org download and the Microsoft Store version are identical:

The python.org Windows downloads page offering the Python install manager for Windows 11
The python.org Windows page lists the Python install manager 26.3 first, above the Python 3.14.8 release.
  1. Microsoft Store: search for Python Install Manager and click Install.
  2. python.org: download the MSIX file, double-click it and choose Install.
  3. winget: run winget install Python.PythonInstallManager in a terminal.

If you prefer winget, you can confirm you’ve got the official package from the Python Software Foundation before installing:

winget show --id Python.PythonInstallManager --disable-interactivity

Output:

Found Python Install Manager [Python.PythonInstallManager]
Version: 26.3.240.0
Publisher: Python Software Foundation
Publisher Url: https://www.python.org/
Publisher Support Url: https://github.com/python/pymanager/issues
Author: Python Software Foundation
Moniker: pythoninstallmanager
Description:
  The Python install manager helps you to install, manage, and launch Python on Windows.
  After install, the "py" command is your tool of choice - try "py help" to see what it can do! (Not working? You may need to uninstall the old "Python launcher", and check "Manage app execution aliases" to ensure the command is enabled.)
Homepage: https://github.com/python/pymanager
License: PSF-2.0
Command Prompt output of winget show for Python.PythonInstallManager published by the Python Software Foundation
The winget entry is published by the Python Software Foundation.

Step 2: Install a Python version with py install

The manager adds three commands: python, py and pymanager. Use them to add, list and remove Python versions:

py install 3.14        # install Python 3.14
py install 3.13        # add another version side by side
py list                # show installed versions; * marks the default
py -V:3.13 script.py   # run a script with a specific version
py uninstall 3.13      # remove a version
The official Python documentation section on the Python install manager for Windows
The official docs section for py install, where these commands come from.

When you first install a runtime, you may be asked to add %LocalAppData%\Python\bin to PATH. It’s optional if you use py, but it gives you commands like python3.14. For juggling versions, see install multiple Python versions.

What about the classic Python installer?

The familiar python-3.x.x-amd64.exe installer still exists for 3.14, but the docs mark it deprecated: it won’t be produced for Python 3.16 or later. If you use it, tick Add python.exe to PATH on the first screen.

Older installs and the old py launcher can clash with the install manager’s py command. If you’re switching, uninstall the old Python launcher from Settings > Apps first.

Step 3: Check that Python works

Open a new Command Prompt or PowerShell window (old windows keep the old PATH), then check Python, the launcher and pip:

python --version
py --list
python -m pip --version
python -c "import sys, ssl, sqlite3; print(sys.platform, ssl.OPENSSL_VERSION, sqlite3.sqlite_version)"

Output:

Python 3.12.5
 -V:3.12 *        Python 3.12 (64-bit)
pip 24.2 from C:\pyguides\venv\Lib\site-packages\pip (python 3.12)
win32 OpenSSL 3.0.13 30 Jan 2024 3.45.3
Command Prompt output on Windows 11 checking python --version, py --list, pip and the ssl and sqlite3 modules
Python, pip and two built-in modules that depend on bundled libraries all respond.

Your version numbers will be newer if you install today. Keeping it current is covered in how to update Python.

Step 4: Create your first virtual environment

The docs recommend one virtual environment per project, so packages for one project never break another:

python -m venv .venv-check
.venv-check\Scripts\python -c "import sys; print(sys.prefix.split(chr(92))[-1], sys.version.split()[0])"

Output:

.venv-check 3.12.5
Command Prompt creating a Python virtual environment on Windows 11 and running Python from it
The script reports it’s running inside the new environment.

Activate it with .venv\Scripts\activate, then install packages with pip; see how to install a module in Python. If you’re using VS Code, see the Python extension for VS Code.

Fix: “python is not recognized” on Windows 11

  • Open a new terminal. PATH changes don’t reach windows that were already open.
  • Check App execution aliases: Settings > Apps > Advanced app settings > App execution aliases. Make sure the Python install manager’s python and py are on, and the Store’s “App Installer” stubs aren’t hijacking them.
  • Remove old installs or old PATH entries that point at a Python that no longer exists.
  • Use py, which works even when PATH isn’t set up.

Next steps after installing Python:

Frequently asked questions

How do I install Python on Windows 11?

Install the Python install manager from python.org or the Microsoft Store, then run py install 3.14 or just python in a terminal.

Is the Microsoft Store version of Python OK?

Yes. The docs say the Store and python.org versions of the install manager are identical.

Is the old Python installer still available?

For 3.14, yes, but it’s deprecated and won’t be produced for Python 3.16 or later.

How do I install more than one Python version?

Run py install for each version, then pick one with py -V:3.13.

Why does Windows say python is not recognized?

Usually PATH or App execution aliases. Open a new terminal, check the aliases in Settings, or use the py command.

Where is the Windows install documented?

See Using Python on Windows in the Python docs.