Last updated on November 10th, 2026 at 10:43 am
Older tutorials say to tick Add python.exe to PATH in a setup wizard, but python.org now leads with the Python install manager, and typing python on a fresh PC just opens the Microsoft Store. Install the manager from the Store (or the MSIX file from python.org if the Store is blocked), open a terminal, and type python. Managed work PCs may need the MSI instead, and Windows 10 uses the same steps.
Pick your route in a minute
Every route ends with a working python command; what changes is how the manager gets onto the PC. The steps apply to Windows 11 and Windows 10, on standard x64 and ARM64 PCs.
| Your PC | Use this | Admin rights? |
|---|---|---|
| Personal PC, Microsoft Store works | Python install manager from the Store | No |
| Store blocked or removed | Installer (MSIX) from python.org | No |
| You set up several PCs, or prefer typing | winget with the manager’s Store ID | No, for a per-user install |
| Managed work PC, Windows Server 2019, or a deployment tool | MSI package from python.org | Yes, it installs per machine |
| No internet on the target PC | py install --download on another PC, then --source | Depends on the manager install |
| A course insists on the classic setup wizard | Legacy python.org installer (Python 3.15 is the last series that gets one) | Not for Install Now |
| Still on Windows 10 | Any route above, plus the notes in the Windows 10 section | Same as above |
Only take Python from the Microsoft Store, python.org or winget. The python.org downloads page says its Windows installers are signed with an Authenticode certificate issued to the Python Software Foundation, so a file from anywhere else has no reason to be trusted.
Install with the Python install manager
The install manager is a small tool from the Python team. It downloads Python runtimes, keeps track of every version on the PC, and gives you the python, py and pymanager commands.
- Get the manager. Open the Microsoft Store, search for Python install manager, and select Install. If the Store is not an option, go to the Python for Windows downloads page, download Installer (MSIX), double-click it, and select Install. In Windows PowerShell you can also run
Add-AppxPackagefollowed by the path to the MSIX file. - Open a terminal. Select Start, type Terminal or PowerShell, and open it. If you are new to command windows, here are the ways to open Command Prompt in Windows 11; every command here works in either one.
- Type python and press Enter. With no runtime installed yet, the manager downloads the latest stable release, installs it for your account, and starts it. You see a version line and then the
>>>prompt, which means Python is waiting for code. - Decide on the PATH prompt. On the first runtime install you will likely be asked whether to add a folder to PATH (the list of folders Windows searches for commands). It is optional. Saying yes adds
%LocalAppData%\Python\bin, which gives you version-specific names such aspython3.15.exe. Saying no still leaves python and py working. - Run one line. Type
print("Hello, Priya")and press Enter. Python prints the greeting on the next line. Typequit()to leave.
Pick one source for the manager. The Python documentation says the Store and python.org MSIX packages are subtly different and cannot be installed at the same time, and it suggests the Store (or winget, which pulls the Store copy) to avoid conflicting installs.
Install with winget, and why Microsoft’s page shows a different command
WinGet is the Windows package manager. The Python documentation gives this command for the install manager:
winget install 9NQ7512CXL7T -e --accept-package-agreements --disable-interactivity
Then, optionally, run py install --configure -y to let the manager’s configuration checker apply its recommended changes. Close the terminal and open a new one before you test python, so the window sees the new command.
Microsoft’s Python on Windows for beginners page uses winget install Python.Python.3.14 instead. That installs one fixed Python version directly, without the manager, so later updates and extra versions are on you. If you prefer that style, run winget search Python.Python first to see which version IDs winget currently offers, since the page names 3.14 while 3.15 is the newest series.
If PowerShell says winget is not recognized, get or update App Installer from the Microsoft Store, then open a new window.
Install on a locked-down or offline PC
Work and school PCs often block the Store or MSIX installs. Ask IT before working around a block.
- MSI package. python.org lists an MSI package beside the MSIX. It has no user interface and can only do a per-machine install to its default location in Program Files. Windows Server 2019 is the only Windows version Python supports that cannot install MSIX, so it needs the MSI. The MSI does not bundle any runtimes; Python versions still come down through the manager.
- Offline install. On a PC with internet, run
py install --download=D:\pyoffline 3.15. That saves the packages plus an index.json file. Copy the folder across, then on the offline PC runpy install --source="D:\pyoffline\index.json" 3.15. - Admin policy. Administrators can override manager settings under the registry key
HKEY_LOCAL_MACHINE\Software\Policies\Python\PyManager, using string (REG_SZ) values named after each configuration key. - Proxy. Since install manager 26.4, the manager reads
HTTPS_PROXY(for exampleproxy.example.com:8080),HTTP_PROXYandNO_PROXY. - Embedded copy for an app.
py install 3.15-embed --target=C:\Apps\Tool\pythonputs the minimal embeddable package in one folder.
The legacy installer also has unattended options such as /quiet InstallAllUsers=1 PrependPath=1, which older deployment scripts still use.
Tutorial advice that no longer applies
| The tutorial says | What to do now |
|---|---|
| Download python-3.x.exe and tick Add python.exe to PATH | Install the manager. PATH is optional because python and py work through app execution aliases. |
| Click Disable path length limit at the end of setup | The manager has no such screen. Turn on long paths in Windows (see the fixes below). |
| Run py -3.12 to pick a version | That still works for python.org releases, but py -V:3.12 is the documented form. The version must come before any other option. |
| Edit py.ini to set a default | Set default_tag in %AppData%\Python\pymanager.json, or set the PYTHON_MANAGER_DEFAULT environment variable. |
| Type python3 like on a Mac | It works, but it is only there to catch that habit. Use python or py. |
| Download get-pip.py | Not needed. Run python -m pip, or python -m ensurepip --default-pip if pip is missing. |
| Search the Store for Python 3.x | Install Python install manager instead. |
If you must use the legacy installer
The python.org page still lists Windows installer (64-bit), Windows installer (32-bit) and Windows installer (ARM64) for Python 3.15. That installer has been deprecated since 3.14 and will not be produced for Python 3.16 or later. On its first screen, Install Now installs for your account without admin rights in most cases (the exceptions are a needed C Runtime update or installing the launcher for all users), and Customize installation lets you pick features, the folder, and an all-users install. Turn on the PATH option on that screen, or the python command will not be found. To change it later, open Control Panel > Programs > Programs and Features, select the Python entry, and choose Uninstall/Change for Modify, Repair or Uninstall. Avoid mixing this installer with the manager on one PC; most of the fixes below trace back to that mix.
If you are still on Windows 10
The install steps are identical on Windows 10. These are the differences.
- Support window. Python ties Windows support to Microsoft’s extended support period, and Python 3.15 supports Windows 10 and newer. Microsoft ended Windows 10 support on October 14, 2025 (Windows 10 support has ended), and consumer Extended Security Updates run to October 12, 2027. If you have not signed up, see how to enroll in Windows 10 Extended Security Updates. A future Python series may drop Windows 10, and older Windows needs older Python: 3.12 for Windows 8.1 and 3.8 for Windows 7.
- 32-bit Windows. Windows 10 was sold in 32-bit editions, unlike Windows 11. Check whether Windows 10 is 32-bit or 64-bit under Settings > System > About > System type before picking a legacy installer file.
- winget. WinGet needs Windows 10 version 1809 (build 17763) or later, and it comes with App Installer from the Microsoft Store.
- PATH edits. If you need to look at PATH by hand, here is how to open Environment Variables in Windows 10.
- Removing apps. On Windows 10, the manager appears under Settings > Apps > Apps & features rather than Installed apps.
- Editor. For the simple editor that ships with Python, see how to use Python IDLE in Windows 10.
Prove it works, then run a first script
Open a new terminal and run these checks:
python --versionprints your default version, such as Python 3.15 plus a patch number.py listshows every runtime the manager has installed.py list --onlineshows what you could install.
Now a real script. Alex wants to count the lines in a CSV file. Create a file named count.py in Notepad with these two lines, save it to your Documents folder, then run python count.py from that folder:
rows = open(r"C:\Users\Alex\Documents\sales.csv").read().splitlines()
print(len(rows), "rows")
The r before the quotes makes it a raw string, so Python reads each backslash in a Windows path literally instead of as an escape code.
Python 3.15 also turns on UTF-8 mode by default, so open() reads and writes text as UTF-8 instead of the old Windows code page. Run with -X utf8=0 or set PYTHONUTF8=0 if an old script needs the previous behavior.
For a proper editor, Microsoft suggests Visual Studio Code with the Python extension. The extension does not include Python, so install Python first, then press Ctrl+Shift+P, run Python: Select Interpreter, and choose the version you installed. Python’s own IDLE editor opens with python -m idlelib.
Run more than one Python
Libraries sometimes lag behind a new release, so a second version is common. Runtimes install side by side, each with a tag.
| Goal | Command |
|---|---|
| Install another series | py install 3.14 |
| Start that series | py -V:3.14 |
| Install the free-threaded build | py install 3.15t |
| Request a 32-bit or ARM64 build | add -32 or -arm64 to the tag, for example py install 3.15-32 |
| Update every runtime that has a newer release | py install --update |
To choose which version plain python starts, set default_tag as shown in the translation table above. Without it, the default is the most recent non-prerelease CPython version.
Which series to pick, from the python.org release status list:
| Series | Status | End of support |
|---|---|---|
| 3.15 | bugfix | 2031-10 |
| 3.14 | bugfix | 2030-10 |
| 3.13 | security fixes only | 2029-10 |
| 3.12 | security fixes only | 2028-10 |
| 3.11 | security fixes only | 2027-10 |
| 3.10 | end of life | 2026-10-01 |
Start new work on 3.15. Install 3.14 alongside it only when a package or course has not caught up.
Give each project its own packages
Packages are add-ons installed with pip. Put them in a virtual environment (a project folder with its own Python and packages) so two projects never fight over versions.
- Go to the project folder, for example
cd Documents\weather-app. - Create the environment with
python -m venv .venv. - Activate it:
.venv\Scripts\Activate.ps1in PowerShell, or.venv\Scripts\activate.batin Command Prompt. The prompt now starts with (.venv). - Install packages with
python -m pip install requests. - Save the list with
python -m pip freeze > requirements.txt, so another PC can rebuild it withpython -m pip install -r requirements.txt. - Type
deactivatewhen you are done.
If PowerShell refuses to run Activate.ps1, Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser allows local scripts for your account only. On a work PC, ask IT first. For data science stacks that rely on conda, installing Anaconda is the alternative.
Fix it by symptom
Typing python still opens the Microsoft Store
Those are Windows placeholder aliases. Select Start, open Manage app execution aliases, and check that Python (default) is on. If it already is, turn it off and on again. Python (default windowed) and Python install manager may need the same refresh. Then open a new terminal.
python or py is “not recognized”
Check the aliases above, then make sure your user PATH still contains %UserProfile%\AppData\Local\Microsoft\WindowsApps. Windows includes it by default, after your other user paths. Search Start for Edit environment variables for your account to look.
py says it can’t open a file
An old Python launcher from an earlier install is taking priority. Open Start > Settings > Apps > Installed apps, search for Python launcher, and uninstall it. Until you do, use pymanager for install and uninstall commands.
python and py start different versions
An older Python sits earlier on PATH. In Installed apps, remove old Python entries or use Modify to turn off their PATH options, and confirm the python.exe alias is set to Python (default).
pip or a package’s command is not found
Activate your virtual environment, or use python -m pip. New packages do not get global shortcuts automatically; run py install --refresh to create them.
pip fails with a compiler error
Some packages contain C or C++ code. Installing Build Tools for Visual Studio with the C++ workload often helps, and some guides use MinGW instead, which is how you install GCC on Windows 11. Sometimes the fix has to come from the package’s developer.
Errors about very long file paths
Deep package folders can pass the old 260-character limit. An administrator can turn on the Enable Win32 long paths policy or set LongPathsEnabled to 1 under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem, then restart. Here is how to enable long paths in Windows 11.
Update, remove, or start over
- Update runtimes:
py install --update. - Remove one version:
py uninstall 3.14. - Remove everything the manager installed:
py uninstall --purge. This also cleans up the Start menu entries, registry entries and download caches it created. - Remove the manager: after the purge, open Settings > Apps > Installed apps, find Python install manager, and select More > Uninstall. Removing the manager first leaves runtimes behind with no commands to reach them.
Questions that come up before you install
Can I install Python without administrator rights?
Usually, yes. The Store and MSIX routes install the manager for your account, and the manager installs runtimes per user (it does not support per-machine runtimes). Only the MSI is per machine.
Should I install Python in Windows or in WSL?
Install it in Windows for learning and scripts for your own PC. If your tutorials or servers are Linux based, install WSL on Windows 11 and use the Linux Python inside it; the two can coexist.
Next, work through the official Python tutorial, and keep Using Python on Windows handy for every manager option. Building a full coding setup? You will likely also install Git on Windows 11, install npm on Windows 11 for web projects, and perhaps install Docker to run Python apps in containers.

Matt Jacobs writes and maintains the guides on Support Your Tech, which he started in 2017. He spent most of his career keeping small-business PCs running and still takes the occasional consulting job, so the steps here come from fixing the same problems on other people’s computers. Every guide is checked on his own Windows 11, Windows 10, Mac, iPhone and iPad before it goes up.