You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hover over the tab title, note Python has a description for which env is activated next to it:
Run some random commands in the terminal, then change environment using Python: Select Interpreter command, a warning sign should appear to the right of terminal with new env changes that're about to be made:
Click show environment contributions highlighted above, make sure the environment variables are for the right environment:
Refs: #21101
Complexity: 5
Create Issue
Requirements
Similar to #20884 hence preassigning. Make sure to check the (new) requirements.
PATHduring installation.conda initto initialize the shell.conda config --set auto_activate_base False.conda create -n <name> python -y.python -m venv <name>to create virtual envs.Verification
Use a workspace with multiple workspace folders. (
File -> Add folder to workspace...)For each workspace folder:
Python: Select Interpretercommand. This should be different for each folder.Open multiple terminals for each workspace folder:

For each workspace folder,
w:wis activated using the selected environment forw. Run the following in terminal:.venvcreated viapython -m venv .venvit looks something like:Pythonhas a description for which env is activated next to it:Python: Select Interpretercommand, a warning sign should appear to the right of terminal with new env changes that're about to be made:Click show environment contributions highlighted above, make sure the environment variables are for the right environment: