Python installation not found
See original GitHub issueThere is an issue when I launch VsCode: the python extension says: “Python is not installed. Please download and install Python before using the extension.” What is weird is that is the bottom left corner my python interpreter seems set as is shown Python 3.8.6 64-bit. But when I do Ctrl-Shift-P and Select Python Interpreter there is none proposed as it was before updating vscode. On top of that I can run my python program by clicking where the run icon (green arrow, top right corner) should be but the icon is missing (blank space).
You can see everything on this screenshot:
Maybe it is a permission issue where vscode would not be allowed to access /usr/bin/python3, I don’t know…
Environment data
- VS Code version: 1.51.1
- Extension version (available under the Extensions sidebar): v2020.11.358366026
- OS and version: Linux (Pop_OS v20.10)
- Python version: Multiple versions but 3.8.3 64-bit
- Type of virtual environment used: N/A
- Value of the
python.languageServer
setting: “python.languageServer”: “Pylance”
Expected behaviour
Found python interpreter and launch without error.
Actual behaviour
Error when launching vscode, no debug capability. Python interpreter not found.
Additional information
Python output logs: python-output.log
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:8 (1 by maintainers)
Top GitHub Comments
I found a workaround for this issue here : https://github.com/microsoft/vscode/issues/110322#issuecomment-726426703
until electron gets fixed.
Same problem here. Arch Linux. Tried to set interpreter manually, systemwide or venv. No joy
Python output attached. output.log