Can't find a new Jupyter kernel on gitpod

83 Views Asked by At

I'm trying to install a new mysql kernel on Gitpod: https://pypi.org/project/mysql-kernel/ But visual studio code doesn't find the kernel

After installing the new jupyter kernel on gitpod. Everything seems to be ok.

enter image description here

But visual studio code doesn't show the possibility to select a new jupyter kernel:

enter image description here

I would expect something like

enter image description here

(source)

2

There are 2 best solutions below

0
cwalvoort On

You have to click "Select Another Kernel..." in:

enter image description here

to see these options:

enter image description here

0
malizia fabio On

I think I found a solution: It seems that vs code on gitpod loads the jupyter kernel list on startup. I added a .gitpod.yml to install the kernel before the workspace is started. It works to me

tasks:
- before: >
      pip install mysql_kernel;
      python -m mysql_kernel.install;

https://www.gitpod.io/docs/configure/workspaces/tasks