Python was not found; run without arguments to install from the Microsoft Store
Windows ran the Microsoft Store “App execution alias” instead of a real Python installation.
Seen on:
Python
Meaning
Windows ships stub python.exe/python3.exe aliases. If Python isn’t installed or not on PATH, the stub prints this message.
Common causes
- Python not installed
- Installed without “Add python.exe to PATH”
- App execution aliases shadowing the real install
⚡ Quick fix
- Install from python.org and tick “Add python.exe to PATH”
- Use the launcher: py -3
- Disable the aliases: Settings → Apps → Advanced app settings → App execution aliases
Detailed fix by platform
Windows
py --listshows installed Pythons;where pythonshows which one runs
How to diagnose
- Installed — py --list
- PATH — where python
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
Was this page helpful?
Report a correction or suggest an improvement
Last updated 2 Oct 2026