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.

Respect interpreter in `PATH`

See original GitHub issue

Even if it’s not via PATH, we would like programmatic selection of python interpreter for a single VS Code instance.

We would like to invoke an instance of VS Code with a specific python interpreter, because that allows providing Python modules for just that instance of VS Code. Currently, once an interpreter has been selected for a workspace, there is no way to choose another interpreter other than running Python: Select Interpreter from the command palette. It would be much more convenient if we could automate that - e.g. when our Python requirements change, we script updating the interpreter in PATH, and no manual intervention is required.

Even if PATH is not respected, some other possibilities would be respecting python.defaultInterpreterPath in .vscode/settings.json, a command line argument, or another environment variable.

Some more details are in https://github.com/microsoft/vscode-python/issues/19298, @karrtikr thanks for your help there

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:6
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
mkenigscommented, Jun 17, 2022

I want to be able to tell someone, run XXX command, and I’ll know they have the proper Python interpreter. I have no way of knowing whether or not they’ve previously run Python: Select Interpreter or not

2reactions
karthiknadigcommented, Jun 21, 2022

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there’s enough upvotes then we will consider this feature request in our future planning. If there’s unfortunately not enough upvotes then we will close this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

respect | The Professional Interpreter
Interpreters are human beings, they are world citizens who, to do their job correctly, need to have a bast knowledge acquired by reading, ......
Read more >
Interpreters respect patient autonomy through best practices
Interpret accurately and completely​​ An interpreter respects all parties by rendering all messages accurately and completely. Sometimes a “ ...
Read more >
"Updating python interpreter" doesn't respect excluded paths
Adding "/datasets" as an excluded path has no effect on the issue. The project interpreter is set up to ignore the path in...
Read more >
A NATIONAL CODE OF ETHICS FOR INTERPRETERS IN ...
The interpreter strives to maintain impartiality and refrains from counseling, advising or projecting personal biases or beliefs. from personal involvement.
Read more >
Interpreter vs Translator: Which Job Is Right for You?
One of the differences between interpreters and translators is their respective work environments. Translators typically have office jobs, although some of them ...
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