question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Python installation not found

See original GitHub issue

There 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: Screenshot from 2020-11-16 13-12-03

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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
MathieuMorrissettecommented, Nov 16, 2020

I found a workaround for this issue here : https://github.com/microsoft/vscode/issues/110322#issuecomment-726426703

until electron gets fixed.

1reaction
skain80commented, Nov 16, 2020

Same problem here. Arch Linux. Tried to set interpreter manually, systemwide or venv. No joy

Python output attached. output.log

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python command not working in command prompt
Press the windows key. · Type "system env". Press enter. · Press alt + n · Press alt + e · Press right,...
Read more >
Err: Python is not recognized as an internal or external ...
Solution · Find a folder with the installed Python version as its name in X:\Program Files (where X X X is the drive...
Read more >
Pip Command Not Found on Windows: A Guide | Built In
A “pip: command not found” error occurs when you haven't properly installed the package installer for Python (pip) on your computer.
Read more >
Python is not recognized as an internal or external command
If you're seeing a python: command not found error on a Unix-like operating system, simply use your package manager to install the latest...
Read more >
python command not found - W3schools.blog
Press “cntrl+shift+p” and write In test box as “python: select interpreter. · Now select your interpreter of python 32 bit or 64 bit...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found