VS Code Insiders does not automatically detect system python interpreter on Windows 10 with WSL 2 #15458
Labels
area-environments
Features relating to handling interpreter environments
bug
Issue identified by VS Code Team member as probable bug
info-needed
Issue requires more information from poster
Environment data
Commit: 192c817fd350bcbf3caecae22a45ec39bae78516
Date: 2021-02-19T05:14:28.632Z
Electron: 11.2.3
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
python.languageServer
setting: -Expected behaviour
When selecting Python Interpreter, at least 3 ought to be automatically found - Python 3.7.9 64-bit ('3.7.9: pyenv'), Python 3.9.0 64-bit ('3.9.0: pyenv') and Python 3.8.5 64-bit system version located at
/usr/bin/python
on WSL 2Actual behaviour
Only the two pyenv interpreters are found, and 3.8.5 system version cannot be found. It can, however, be added manually by specifying
/usr/bin/python
. It also appears when runningpyenv versions
orpython --version
from bash in WSL2Steps to reproduce:
code-insiders .
Possibly related to Issue #15439 but I am having the opposite problem on Windows 10 with WSL 2, using visual studio code insiders.
Logs
The text was updated successfully, but these errors were encountered: