System info:
Steps:

Text on the screenshot:
Kim@DESKTOP-BINGO MINGW64 ~/Documents/Work/vscode-python/pythonFiles (main)
$ source c:/Users/Kim/Documents/Work/vscode-python/.venv/Scripts/activate
(.venv)
Kim@DESKTOP-BINGO MINGW64 ~/Documents/Work/vscode-python/pythonFiles (main)
$ c:/Users/Kim/Documents/Work/vscode-python/.venv/Scripts/python.exe c:\Users\K
im\.vscode\extensions\ms-python.python-2020.6.91350\pythonFiles\pyvsc-run-isola
ted.py pip install -U pylint
C:\Python38\python.exe: can't open file 'c:UsersKim.vscodeextensionsms-python.python-2020.6.91350pythonFilespyvsc-run-isolated.py': [Errno 2] No such file or directory
(.venv)
Kim@DESKTOP-BINGO MINGW64 ~/Documents/Work/vscode-python/pythonFiles (main)
$
Related: #734 #700 and mayyyybe #11419
Same issue on:
Same issue on:
For me it even deleted many of the 'pythonFiles' in the Python extension, I had to completely reinstall the extension to fix the bug. This happened to me after having multiple venvs in my project.
Env:
I can not even select my default interpreter now
Quick fix:
?/.vscode/extensions called ms-python.python-{version}In order to get this working, in Terminal -> terminal dropdown -> Select Default Shell, choose anything except Git Bash or WSL Bash.
Interestingly, the escaping in WSL bash looks better but doesn't take the /mnt/ path into account.

Most helpful comment
In order to get this working, in Terminal -> terminal dropdown -> Select Default Shell, choose anything except Git Bash or WSL Bash.
Interestingly, the escaping in WSL bash looks better but doesn't take the
/mnt/path into account.