Python not found Python Origin: Application & API Last updated 14 Oct 2026

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.

Exact message you may see Python was not foundrun without arguments to install from the Microsoft Store'python' is not recognized
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

  1. Install from python.org and tick “Add python.exe to PATH”
  2. Use the launcher: py -3
  3. Disable the aliases: Settings → Apps → Advanced app settings → App execution aliases

Detailed fix by platform

Windows

  1. py --list shows installed Pythons; where python shows which one runs

How to diagnose

  1. Installed — py --list
  2. PATH — where python

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Application & API. Errors that are often confused with or caused by this one (click to open):

0x8007000D — Windows error 0x8007000D (The data is invalid) (Windows)0x8007000DAttributeError — AttributeError: 'X' object has no attribute 'y' (Python)AttributeErrorcommand not found — bash: command not found (Linux)command not foundConnectionRefusedError — ConnectionRefusedError: [Errno 111] Connection refused (Python)ConnectionRefusedErrorDisallowedHost — django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: 'x'. You may need to add 'x' to ALLOWED_HOSTS. (Python)DisallowedHostDjango CSRF — Forbidden (403) CSRF verification failed. Request aborted. (Python)Django CSRFEvent loop is closed — RuntimeError: Event loop is closed (Python)Event loop is closednever awaited — RuntimeWarning: coroutine 'fetch' was never awaited (Python)never awaitedPython no…

Explore the map of this error Full error map →

🧠 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.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.