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.

Expose API for when the list of interpreters have changed

See original GitHub issue

Discussed in https://github.com/microsoft/vscode-python/discussions/16683

<div type='discussions-op-text'>

Originally posted by DonJayamanne July 13, 2021 Currently there’s no way for Jupyter to know when user creates a new Python environment (conda, or the like).

Is it possible to get an event so we know that new interpreters have been created.

Note: Once thats done, how would we get these new interpreters. Not sure the GetInterrpeters is the best API for this, as that will return all interpreters all over again. Personally it would be nice to have something we can subscribe to, like an observable, this way we only get whats new).</div>

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:16
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
karthiknadigcommented, Jan 19, 2022
1reaction
brettcannoncommented, Sep 1, 2021

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 5 👍 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

Interpreter and Environment Discovery - GitHub
This design exposes APIs via the IComponentAdapter interface. ... Returns true if the interpreter path is identified as python installed via Windows Store....
Read more >
Embedding multiple Python sub-interpreters into a C program
Unfortunately, subinterpreters still share the GIL in 3.7 and 3.8. This is something I'm personally working on changing.
Read more >
Project History — PyOxidizer 0.23.0 documentation
The minimum Rust version has been changed from 1.60 to 1.61 to facilitate use of ... API for controlling embedded Python interpreters has...
Read more >
PEP 554 – Multiple Interpreters in the Stdlib
“interpreters” Module API. The module provides the following functions: list_all() -> [Interpreter] Return a list of all existing interpreters.
Read more >
Making API Calls from Zeppelin Notebook
The default python interpreter version used by %pyspark is Python 2 and, to change that setting, you must change the spark's zeppelin.pyspark.
Read more >

github_iconTop Related Medium Post

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