vscode doesn't recognize python

No good

Python is not recognized by vscode on windows10. I don't think it's included from the beginning, but it seems to be useless if I add a new one.

Symptoms

  1. Install 3.8.3 32-bit from python.org
  2. install vscode
  3. install python extension
  4. Run python with powershell
  5. Select path

It doesn't work. The path is not written properly.

Reproduction method

  1. Clean uninstall vscode
  2. Uninstall python3.2.3, python laucher from control panel

After that, if you operate according to the symptom, it will be reproduced.

The workaround is modify

  1. Download python .install again and save.
  1. After starting, select modify cap1.png cap2.png

  2. Next, check add python to environment variables. cap3.png If you install it, it will be recognized by vscode.

Happy coding!!

Reference site

  1. Easy solution for "Python doesn't work ..." (Windows)

Recommended Posts

vscode doesn't recognize python
[Python] Why pserve doesn't work
Recognize red objects with python
Preparing python using vscode on ubuntu
Debug python multiprocess program with VSCode
Git & Github & python & VScode Personal memorandum
When matplotlib doesn't work with python2.7
Intellisense doesn't work with tensorflow2.0 + VScode
[Python] View dataframe in VScode debug console
[VScode] autopep8 format does not work [Python]
Python3 + venv + VSCode + macOS development environment construction
VScode environment construction (Windows10, Python, C ++, C, Git)
Add a Python virtual environment to VSCode