Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings

I'm just starting coding and I was trying to download a GUI, but the terminal keeps giving me this 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'm trying to install it using this command:

python -m pip install --upgrade pip setuptools virtualenv 
like image 213
Joseph Haywood Avatar asked Dec 17 '20 21:12

Joseph Haywood


People also ask

Why my Python was not found?

The “Python is not recognized as an internal or external command” error is encountered in the command prompt of Windows. The error is caused when Python's executable file is not found in an environment variable as a result of the Python command in the Windows command prompt.

How do I install Python from the Microsoft Store?

To install the package, ensure you have the latest Windows 10 updates and search the Microsoft Store app for “Python 3.10”. Ensure that the app you select is published by the Python Software Foundation, and install it. Python will always be available for free on the Microsoft Store.


1 Answers

  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"

like image 187
janadari ekanayaka Avatar answered Oct 01 '22 05:10

janadari ekanayaka