Simply use
- shift + cmd + P
- Search Select Interpreter
- Select it and it will show you the list of your virtual environment created via conda and other python versions
- select the environment and you are ready to go.
Quoting the ‘Select and activate an environment’ docs
Selecting an interpreter from the list adds an entry for
python.pythonPath
with
the path to the interpreter inside your Workspace Settings.