Python Not Recognized — Windows PATH Configuration and Installation Errors
Warningapplication
Overview
Fix 'python is not recognized as an internal or external command' on Windows by configuring PATH environment variable and Python installation settings.
Key Details
- Windows does not include Python by default — it must be installed separately
- The Python installer has an 'Add Python to PATH' checkbox that is unchecked by default
- Multiple Python installations (2.7, 3.x, Anaconda, Windows Store) can conflict
- The Windows Store Python app may shadow the installed Python version
- pip, python3, and py launcher have different PATH requirements
Common Causes
- Python not added to PATH during installation (checkbox was not checked)
- Multiple Python versions installed with conflicting PATH entries
- Windows Store Python app alias redirecting the 'python' command
- System PATH changes not taking effect in already-open terminal sessions
Steps
- 1Check if Python is installed: open Settings > Apps > search for 'Python'
- 2Add Python to PATH manually: System Properties > Environment Variables > Path > add C:\Users\[you]\AppData\Local\Programs\Python\Python3xx\ and its Scripts subfolder
- 3Disable Windows Store Python alias: Settings > Apps > App execution aliases > turn off Python entries
- 4Use the Python Launcher: 'py' command works without PATH modification (installed with Python 3.3+)
- 5Restart your terminal after PATH changes — existing terminals keep the old PATH
Tags
pythonpathnot-recognizedinstallationenvironment
Related Items
More in Application
windows-C0000005-access-violationWindows Error 0xC0000005 — Access Violation
Errorwindows-C000007B-bad-image-formatWindows Error 0xC000007B — Bad Image Format
Errorwindows-C0000142-application-init-failedWindows Error 0xC0000142 — Application Init Failed
Errorwindows-SxS-Error-side-by-side-configuration-errorWindows Error SxS-Error — Side-by-Side Configuration Error
Warningwindows-DLL-Missing-dll-not-foundWindows Error DLL-Missing — DLL Not Found
Warningwindows-app-runtime-r6025Windows Runtime Error R6025 — Pure Virtual Function Call
WarningFrequently Asked Questions
Use 'py' (Python Launcher) which automatically selects the right version. If using python directly, on Windows 'python' and 'python3' both point to Python 3.x if only one version is installed.