Home > Net >  I just downloaded py and vscode, my first time using both, but then this appear "Python was not
I just downloaded py and vscode, my first time using both, but then this appear "Python was not

Time:10-28

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:

  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"

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

  • Related