Python Vscode extension - can't change remote jupyter notebook kernel

Viewed 2788

I've got the updated Python VSCode extension installed and it works great. I'm able to use the URL with the token to connect to a remote Jupyter notebook. I just cannot seem to figure out how to change the kernel on the remote notebook for use in VSCode.

If I connect to the remote notebook through a web browser, I can see my two environments through the GUI and change kernels. Is there a similar option in the VSCode extension?

3 Answers

Run the following command in vscode:

Python: Select interpreter to start Jupyter server

It will allow you to choose the kernel that you want.

The command that worked for me in vscode:

Notebook: Select Notebook Kernel

Then, scroll all the way to the bottom, to choose

Connect to Local Kernels will change to local kernel

You can switch between Remote and Local from here.

enter image description here

Related