Home > Mobile >  Why does VSCode say Python is not installed?
Why does VSCode say Python is not installed?

Time:05-20

When I open up my VSCode, I immediately get the message "Python is not installed. Please download and install Python before using the extension." in the bottom right.

When I close VSCode and open it up again, the error message is fixed and it says Python 3.10 in the bottom right. But why didn't it work in the first place?

I've tried uninstalling and reinstalling both Python and VSCode, but it still does this. Is there anything else that I can do to solve this problem?

CodePudding user response:

This may be caused by python extension version.

You can try switching to pre-release version.

enter image description here

CodePudding user response:

Can you check if the python path is added to your environment variables. Also did you install python separately, if you do then there is a small checkbox during installation that you need to tick to add python path to environment variables

  • Related