VS Code keeps switching back to the wrong Python interpreter
VS Code 1.87 on Windows 11. I select my project's .venv as the interpreter in the bottom right, but every time I restart the window it goes back to the globally installed Python 3.11. I have python.defaultInterpreterPath set in settings.json to ${workspaceFolder}/.venv/Scripts/python.exe. Am I using the wrong setting, or is there another place that overrides it? I've tried reselecting it a bunch of times and it sticks until the next window restart.
4 replies