Reputation: 383
After setting python.venvPath to:
"python.venvPath": "/home/jfb/EVs/env/bin/python3" and restarting vs code the virtual environment does not show up in the list of Python interpreters. All the search results I have read seem to say this is all that is needed to have the virtual environment version of python show up in the list of interpreters.
Using vs code vers 1.20.1 on Mint 18.
It seems so simple so what am I missing.
Regards, Jim
Upvotes: 3
Views: 8280
Reputation: 3467
From vscode settings help:
Path to folder with a list of Virtual Environments (e.g. ~/.pyenv, ~/Envs, ~/.virtualenvs).
You should put:
"python.venvPath": "/home/jfb/EVs"
Reload vscode window and try again.
Upvotes: 6