📋 Table of Contents
More new Python installs are broken by one missed checkbox than by anything else. You install Python, open a terminal, type python, and get "'python' is not recognized as an internal or external command." That is not a corrupt install — it means Python is not on your PATH. This guide installs Python from the official offline installer the right way, shows the single checkbox that prevents the problem, and explains how to fix PATH if you already missed it.
1 Download the official offline installer
Python is distributed from python.org. The Windows installer it offers ("Windows installer (64-bit)") is already a complete offline installer — a self-contained ~25-30 MB executable that installs without downloading anything further. Get it only from python.org/downloads; the Microsoft Store also offers Python, but the python.org installer gives you more control over PATH and is better for development. Avoid any third-party "Python download" site.
2 The one checkbox that matters
Run the installer. On the very first screen, before you click Install Now, tick the checkbox at the bottom that says "Add python.exe to PATH" (older versions say "Add Python to environment variables"). This is the single most important step. It tells Windows where Python lives so that typing python or pip in any terminal works. If you skip it, everything installs fine but the commands will not be recognized. With the box ticked, click Install Now and you are done.
3 Verify the install
Open a NEW terminal (PowerShell or Command Prompt) — it must be new, because PATH changes only apply to terminals opened after the install. Type python --version; you should see the version you installed. Then type pip --version to confirm the package manager works. If both respond, you are set. If python opens the Microsoft Store instead, see the troubleshooting section — that is a Windows app-alias quirk, not a Python problem.
4 Already missed the checkbox? Fix PATH manually
You do not need to reinstall. Either: (A) Re-run the installer, choose Modify, and tick "Add Python to environment variables" — the easiest fix. Or (B) add it by hand: press Win, search "environment variables," open "Edit the system environment variables" → Environment Variables. Under your user's Path, add two entries: the Python folder (e.g. C:\Users\
5 Fix the "Python opens the Microsoft Store" issue
If typing python launches the Store instead of running Python, Windows app execution aliases are intercepting it. Go to Settings → Apps → Advanced app settings → App execution aliases (or search "app execution aliases"), and turn OFF the toggles named "App Installer python.exe" and "python3.exe." Open a new terminal and python will now run your real installation.
Frequently Asked Questions
Why do I get 'python is not recognized'?
Python is installed but not on your system PATH, so the terminal cannot find it. The fix is to tick "Add python.exe to PATH" during install, or add the Python and Scripts folders to PATH manually afterward.
Is the python.org installer an offline installer?
Yes. The standard Windows installer from python.org is self-contained and installs without an internet connection. There is no separate offline build to find.
Should I install Python from python.org or the Microsoft Store?
For development, python.org is recommended — it gives you control over PATH and installation options. The Store version is fine for casual use but is more restricted.
Why does typing python open the Microsoft Store?
Windows app execution aliases are intercepting the command. Disable the python.exe and python3.exe aliases under Settings → Apps → App execution aliases, then open a new terminal.
Conclusion
Installing Python on Windows is genuinely easy if you remember one thing: tick "Add python.exe to PATH" on the first installer screen. That single checkbox prevents the most common beginner error. If you already missed it, re-run the installer and choose Modify, or add the folders to PATH by hand — no reinstall needed. Then a fresh terminal and python --version confirms you are ready to code.