I suddenly have a problem with Python, which I first didn't have.
When I run python3 quickexample.py
or python quickexample.py
, I get the error
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
However, when I run where python
I get
C:\Users\Esmee\AppData\Local\Microsoft\WindowsApps\python.exe C:\Users\Esmee\AppData\Local\Programs\Python\Python36-32\python.exe C:\Python27\python.exe
And I have checked that C:\Users\Esmee\AppData\Local\Programs\Python\Python36-32
is in the environment variables, under system variables.
Also, running the exact same commands on Ubuntu instead of the cmd does not give any problems...
How do I fix this?
Thanks in advance!