Description
Python 2.7 is missing from global environment and interpreter list.
I understand that python 2 is no longer officially supported by vscode-ms-python.
There are still people who maintain a code base for python2, including myself and it it has still always been an option to select and use python 2.7 as an interpreter.
vscode version: 1.97.2
Also tried different python vscode extensions
python ext: 2025.0.0 and 2025.1.2025022501 (pre-release)
The following test cases were performed with various environment managers enabled:
Vscode restarted between cases
No Environment Manager | donjayamanne.python-environment-manager | ms-python.vscode-python-envs | donjayamanne.python-environment-manager + ms-python.vscode-python-envs |
|
---|---|---|---|---|
Listed in interpreter selection | Y | Y | N | N |
Switchable from interpreter selection | Y | Y | *N/A | *N/A |
Listed in env manager (global) | *N/A | Y | N | N |
Switchable env manager (global) | *N/A | Y | *N/A | *N/A |
* Not applicable due to option is not listed thus able to be selected
From the above cases, it appears that ms-python.vscode-python-envs extension is actively delisting python 2.7 from the list of interpreters and global env within vscode.