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
When using multiple enviroments that are in the same project, maybe as sub-modules or similar, the environment being actually used by vscode is not the one being displayed in the bottom right selector and the environment selected for the whole project ends up being used.
I hope this video can help explain myself
2025-09-13.11-31-55.mp4
As you can see, i have 2 different venvs, one with httpx and one with semver (no particular reason for such choices, i just use them regularly) and, when switching from the main of one module to the other, the venv appears to be changed but in reality it is not (or, at least, vscode does not realize that it changed) and defaults to the project-wide env.
When using multiple enviroments that are in the same project, maybe as sub-modules or similar, the environment being actually used by vscode is not the one being displayed in the bottom right selector and the environment selected for the whole project ends up being used.
I hope this video can help explain myself
2025-09-13.11-31-55.mp4
As you can see, i have 2 different venvs, one with httpx and one with semver (no particular reason for such choices, i just use them regularly) and, when switching from the main of one module to the other, the venv appears to be changed but in reality it is not (or, at least, vscode does not realize that it changed) and defaults to the project-wide env.