In short, VSCode will randomly complain on opening that it cannot find the python interpreter I select in the settings: Failed to check if /workspaces/xxx/.python_env ...
The Python Output panel logs consistently show that after the Python extension correctly identifies the venv's Python interpreter, it subsequently uses the global ...