I always find it quicker and easier to manually supply the location of the venv in the settings file(s) as Using the Select Python Interpreter command doesn't do a good job at finding them.
I use pipenv so all my environments are in my C:\Users\Alex\.virtualenvs\ directory so there could be a more elaborate solution where the vscode command would monitor this directory for any python executables?
I always find it quicker and easier to manually supply the location of the venv in the settings file(s) as Using the
Select Python Interpreter
command doesn't do a good job at finding them.I use pipenv so all my environments are in my
C:\Users\Alex\.virtualenvs\
directory so there could be a more elaborate solution where the vscode command would monitor this directory for any python executables?I just found setting
python.venvPath
to your virual env. will allow Interpretor to list them in Code.For example :