1. Check your Python version and be sure it is installed on your machine

  2. Check the path environment variable

  3. Go to -> "start" and type "Manage App Execution Aliases". Go to it and turn off "Python"

Answer from janadari ekanayaka on Stack Overflow
🌐
Reddit
reddit.com › r/learnpython › please help, "python was not found; run without arguments to install from the microsoft store, or disable this shortcut from settings > manage app execution aliases." nothing works.
r/learnpython on Reddit: Please help, "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases." Nothing works.
December 7, 2024 -

So, when i try something as simple as "python --version" on cmd all i get is "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases." i looked it up on youtube and nothing works, i tried disabling the python thing on the Execution Aliases, but it just doesn't work, i turn it off it's like nothing, if i close it and open it again suddenly it's on again and i don't know what to do.

Discussions

Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
The bundled Python is not found by emcmake ! It's folder was added manually into the PATH variable but it is still "not found". How is it possible ? D:\Temp\2>emcmake cmake . -G "MSYS Makefiles" Python was not found; run without argument... More on github.com
🌐 github.com
7
December 5, 2023
Cant run python code in vs code - Python - Code with Mosh Forum
every time i try to code using vs code in my m2 macbook air i get the following message in output , i am new to coding /bin/sh: python: command not found More on forum.codewithmosh.com
🌐 forum.codewithmosh.com
0
May 31, 2023
Python --version command isn't working on windows
giving the command python --version gives the following error Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases. I think when I first installed python 5 or 6 years ago, I didn’t install it ... More on discuss.python.org
🌐 discuss.python.org
6
0
December 30, 2023
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
The most powerful stealer written in Python 3 and packed with a lot of features. - Issue · Blank-c/Blank-Grabber More on github.com
🌐 github.com
0
March 19, 2023
🌐
Python.org
discuss.python.org › python help
Python was not found; run without arguments to install from the Microsoft Store - Python Help - Discussions on Python.org
February 12, 2025 - I have been attempting to use python on my Windows computer but when attempting to run the python file on the command prompt i keep getting the error message " Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings".
🌐
CodeWithHarry
codewithharry.com › blogpost › solving-python-not-found-run-without-arguments
[Solved] python was not found; run without arguments to install from the microsoft store, or... | Blog | CodeWithHarry
I bought my new Asus laptop and after trying to run Python I encountered the "Python was not found; run without arguments to install from the Microsoft Store or disable this shortcut from Settings > manage app execution aliases" error. If you too have recently faced this issue, I have found a simple solution.
🌐
DEV Community
dev.to › abidcomsian › how-to-fix-python-was-not-found-error-on-windows-disable-app-execution-aliases-2mj6
How to Fix “Python Was Not Found” Error on Windows: Disable App Execution Aliases - DEV Community
July 24, 2025 - "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Apps > Advanced app settings > App execution aliases."
Find elsewhere
🌐
GitHub
github.com › emscripten-core › emsdk › issues › 1316
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases. · Issue #1316 · emscripten-core/emsdk
December 5, 2023 - Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.#1316
Author   emscripten-core
🌐
Code with Mosh
forum.codewithmosh.com › python
Cant run python code in vs code - Python - Code with Mosh Forum
May 31, 2023 - every time i try to code using vs code in my m2 macbook air i get the following message in output , i am new to coding /bin/sh: python: command not found
🌐
Aleksey
aleksey.co › blog › how-to-solve-the-python-was-not-found-run-without-arguments-to-install-from-the-microsoft-store-error-in-windows
How to Solve the "Python was not found; run without arguments to install from the Microsoft Store" Error in Windows
Conclusion Encountering the "Python was not found" error can be a bump in the road for Windows users, but following the above steps should smoothly guide you past this obstacle. By managing app execution aliases and optionally setting up environment variables, you can ensure that your system recognizes your Python installation.
🌐
Python.org
discuss.python.org › python help
Python --version command isn't working on windows - Python Help - Discussions on Python.org
December 30, 2023 - giving the command python --version gives the following error Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
🌐
Bobby Hadz
bobbyhadz.com › blog › python-was-not-found-run-without-arguments-to-install
Python was not found; run without arguments to install from the Microsoft Store | bobbyhadz
To solve the error Python was not found; run without arguments to install from the Microsoft Store, make sure you have Python installed.
🌐
GitHub
github.com › Blank-c › Blank-Grabber › issues › 152
Python was not found; run without arguments to install from ...
March 19, 2023 - Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.#152
Author   Blank-c
🌐
TechDirectArchive
techdirectarchive.com › home › windows › how to fix python was not found run without arguments to install from the microsoft store
How to Fix Python was not found run without arguments to install from the Microsoft Store - TechDirectArchive
October 4, 2023 - While running the command you get ... from the Microsoft Store”. This message is displayed because what you intend to install needs Python for a successful installation or configuration....
🌐
Python.org
discuss.python.org › python help
Python 3.12 installation on Windows - Python Help - Discussions on Python.org
November 17, 2023 - Hi, I am trying to open the newly installed Python 3.12 on my PC , and got this error: Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App…
🌐
SABnzbd Forums
forums.sabnzbd.org › home › board index › support › general help
python was not found run without arguments error version 3.5.3? - SABnzbd Forums
python2.7 and python3.1 are not supported (by python, nor sabnzbd) anymore. You should have at least version python3.7. And python3.10 is the most version.
🌐
Python.org
discuss.python.org › python help
Python not found by command prompt - Python Help - Discussions on Python.org
February 11, 2024 - I have installed Python in Windows 11 and saved a small script called unicode.replacer.py In the command prompt, in the correct directory, when I attempt to execute: python unicode.replacer.py command prompt reports: …
🌐
sebhastian
sebhastian.com › python-was-not-found-run-without-arguments
How to fix Python was not found; run without arguments in Windows | sebhastian
April 14, 2023 - By default, Windows uses the py alias to run the Python interpreter. One way to enable the python command is to add the python.exe executable file to your PATH environment variable.
🌐
GitHub
github.com › AUTOMATIC1111 › stable-diffusion-webui › discussions › 1087
Installation error · AUTOMATIC1111/stable-diffusion-webui · Discussion #1087
stderr: Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Author   AUTOMATIC1111