I downloaded py and vscode, they were working good yesterday, but today when I open, and I only tried to print something else, it appear 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 desinstalled both and install them again, installing py i check de path bottom, and I alredy download the extension of py in vscode, and it is still no working.
CodePudding user response:
I use to have it too. You should honestly use Pycharm. Pycharm gives less problems than vscode.
You can try:
- Check your Python version and be sure it is installed on your machine
- Check the path environment variable
- Go to -> "start" and type "Manage App Execution Aliases". Go to it and turn off "Python"
CodePudding user response:
Have a look at https://github.com/pyenv/pyenv. You can install "local" versions of Python and have different environments.
Pyenv lets you easily switch between multiple versions of Python