Default Python interpreter path in VS Code
2022-05-07
If you're using Python in VS Code, and see VS Code not finding interpreter properly or keeps asking to select interpreter, try to change the settings.json like below.
Make sure venv is created and activated
python3 -m venv venv
source venv/bin/activateVS Code settings.json
"python.defaultInterpreterPath": "./venv/bin/python3",