Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't change remote jupyter notebook kernel #3724

Closed
mrober01 opened this issue Dec 20, 2018 · 19 comments
Closed

Can't change remote jupyter notebook kernel #3724

mrober01 opened this issue Dec 20, 2018 · 19 comments
Assignees

Comments

@mrober01
Copy link

Hi,
-pointed here from stackoverflow-
With the new version i am able to connect to a remote jupyter session and that works great, but there does not appear to be a way to change the remote kernel. This feature would be very helpful.
Thanks,
Mike

@u8sand
Copy link

u8sand commented Mar 1, 2019

This is problematic--vscode is defaulting to a kernel that isn't even python for me.

Edit: My current workaround is starting the notebook myself with

jupyter notebook --KernelSpecManager.whitelist="['python3']"

causing python3 to be the only option.

With specification of the kernel itself, this might enable interactive support to different languages as well given that there is an available kernel.

@jayBana
Copy link

jayBana commented Mar 6, 2019

Is this something similar to what the Hydrogen package provides in Atom?
e.g. after configuring the remote Jupyter Server it gives the following options when selecting the "Connecting to Remote Kernel":

image

image

image

It would be great to have the ability spacify the kernel e.g. in conda environments.

@williamjqk
Copy link

If you support this feature, I would give up Atom and use vscode!

@vnijs
Copy link

vnijs commented Apr 20, 2019

Hydrogen also has an option to "remember" multiple jupyter servers the user might want to connect to. The first choice is then "which remote" and then what kernel. Very handy

@CermakM
Copy link

CermakM commented May 13, 2019

+1 For this feature

@nlspoon
Copy link

nlspoon commented Jun 26, 2019

Bumping for this feature. Having the ability to reconnect to and/or select which remote jupyter server and which kernal to use would be very useful to me and my team.

@elyase
Copy link

elyase commented Jul 5, 2019

This would be great to have. BTW is this possible locally?

@sfhansen
Copy link

Another +1 for this feature!

@kcyu2014
Copy link

kcyu2014 commented Sep 3, 2019

+1 for this feature

@langley
Copy link

langley commented Sep 15, 2019

+1 for this feature Running / connecting to kernels in other languages would be VERY useful!

@erinxocon
Copy link

+1 for this feature! I am loading a custom kernel installed by django-extensions to have the ORM initialized inside of the notebook. This would be grand!

@QuinRiva
Copy link

+1 for this feature. I run multiple kernels with different packages installed.

@DonJayamanne
Copy link
Contributor

Thanks everyone for adding your interest. However please could you vote on the main comment (👍 ). This way its easier for us to check the reactions (interest) on this issue, else we'd have to scroll down to look for +1 or the like.

@rchiodo rchiodo self-assigned this Dec 13, 2019
@rchiodo
Copy link
Contributor

rchiodo commented Dec 13, 2019

Remote doesn't seem to show up in our new (about to release) UI. Investigating

@DonJayamanne
Copy link
Contributor

Validated

@lock lock bot locked as resolved and limited conversation to collaborators Dec 26, 2019
@microsoft microsoft unlocked this conversation Nov 14, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 14, 2020
@mparq
Copy link

mparq commented Jan 21, 2021

Hi @DonJayamanne / @rchiodo, I see this issue is closed. We're trying to use a local docker container running jupyter in vs code and have the same issue regarding wanting to select different kernels on the remote server. Should this be possible now or is it possible in the new UI?

@rchiodo
Copy link
Contributor

rchiodo commented Jan 22, 2021

It should be possible. Remote kernel selection should work. For VS code stable anyway. VS code insiders is using something that doesn't have remote support just yet.

Please open a new issue if you're using VS code stable and you can't pick a remote kernel.

This is what it shows for me:

image

Those first 3 kernels being already running kernels.

@mparq
Copy link

mparq commented Jan 22, 2021

Ahh, you're right! I see what the issue was. I'm on VS code stable. I was using the functionality for running a cell directly from a .py file which was able to use the Jupyter Server I had configured from the jupyter extension.

From the .py file and the Interactive window, I can't see Jupyter: Select a Kernel in the command pallette, but if I export the .py file as an .ipynb, I do get that command and I can select remote kernels properly.

But this made me check back and it looks like I still have the kernel selection available through the UI in the python interactive window and I can select a kernel properly from there.

image

Is it a bug that Jupyter: Select a Kernel isn't available in the interactive window? I can create a new issue if so.

@rchiodo
Copy link
Contributor

rchiodo commented Jan 22, 2021

Is it a bug that Jupyter: Select a Kernel isn't available in the interactive window? I can create a new issue if so.

Yes seems like an over sight. Please enter an issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests