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.

Improve "No Python interpreter" selected prompt

See original GitHub issue

Environment data

  • VS Code version: 1.62-insider
  • Extension version (available under the Extensions sidebar): v2021.10.1317843341

I think this just showed up today, but I can’t give exact repro steps. I was doing python things in different repos for awhile. At some point, I noticed that I get this notification every time I open a window with a python project

image

I don’t usually see that. Then I noticed that I have this setting, which I definitely didn’t set manually: "python.defaultInterpreterPath": "/opt/python/latest/bin/python". Removing that makes the notification go away. Is there something in the extension that adds that setting? That path does not exist for me.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
roblourenscommented, Oct 12, 2021

I think machine-overridable might be the right scope here

0reactions
karrtikrcommented, Jul 13, 2022
  • If an invalid interpreter is selected: image
  • If no Python is installed: image selecting which leads to: image
Read more comments on GitHub >

github_iconTop Results From Across the Web

Improvements to "No Python interpreter" selected prompts ...
Open a Python file, and use button on top right to run it: image · Verify the following prompt shows up: image ·...
Read more >
"Invalid python interpreter selected" prompt vscode
Use Ctrl + Shift + P to open the command palette · search for Python:Select Interpreter (or click select interpreter in the lower...
Read more >
Configure a Python interpreter | PyCharm Documentation
Press Ctrl+Alt+S to open the IDE settings and select Project <project name> | Python Interpreter. · Expand the list of the available interpreters ......
Read more >
Using Python environments in VS Code
To select a specific environment, use the Python: Select Interpreter command from the Command Palette (Ctrl+Shift+P).
Read more >
How to Set Default Python Interpreter in VS Code
On your VS code press Ctrl + Shift + P, to open the command palette. Type and select “Python: Select Linter”. Choose PyLint...
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