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.

Problems with the "Select kernel" dialog which pops up when you run a notebook in VSCode.

See original GitHub issue
    @rchiodo  the problem seems to be with the "Select kernel" dialog which pops up when you run a notebook in VSCode. 
  • The list of venvs is incomplete, or it apparently doesn’t see the venv which the current Python interpreter is using in VSCode.
  • The list of venvs cannot be refreshed.
  • It doesn’t have an affordance to enter a path.
Screen Shot 2022-11-04 at 3 55 41 PM

edit:

There seems to be some condition which triggers the current venv to appear in the picklist for ‘select kernel’. Cannot quite figure out what that is. Have tried installing ipykernel, have tried running jupyter notebook , etc.

_Originally posted by @guidorice in https://github.com/microsoft/vscode-jupyter/issues/5319#issuecomment-1304293783_

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
DonJayamannecommented, Nov 20, 2022

Same problem for me. Kernel lists only a few virtual environments (and only one created from venv), but in environment list all appear.

This has been fixed in the latest pre-release version of the Juptyer extesnion, Will close this for now, Please install VS Code insiders and the latest pre-release version of Jupyter & Python extension

The list of venvs cannot be refreshed.

Same as previous comment.

It doesn’t have an affordance to enter a path.

This isn’t supported, you can add a path into Python Interpreters and their environments should now automatically show up in Jupyter extension as well.

Closing this as all have been addressed in the latest pre-release version.

1reaction
rchiodocommented, Nov 4, 2022

@guidorice I added a new issue for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

New Virtual environments not listed in Kernels until i reload ...
@rchiodo the problem seems to be with the "Select kernel" dialog which pops up when you run a notebook in VSCode.
Read more >
jupyter server : not started, no kernel in vs code - Stack Overflow
Go on "Select Kernel" directly on the notebook UI;; Select your right kernel. It is weird that the venv kernel appears on "Filter...
Read more >
Working with Jupyter Notebooks in Visual Studio Code
You can create a Jupyter Notebook by running the Create: New Jupyter Notebook command ... Next, select a kernel using the kernel picker...
Read more >
DataSpell - Manage Jupyter notebook servers - JetBrains
In DataSpell, you can execute code cells using: ... In the New Jupyter Connection dialog, select the connection type: Start a local Jupyter ......
Read more >
Jupyter Notebook 6.5.2 documentation - Read the Docs
With the IPython kernel, you can also run the %qtconsole magic in the ... Clicking on the notebook name brings up a dialog...
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