Can't restart kernel in VSCode jupyter notebook

As the title says, recently notebooks in VSCode does not allow me to press restart kernel or interrupt (greyed out) and running the command “Julia: Restart kernel” results in the error

Command ‘Julia: Restart kernel’ resulted in an error (Running the contributed command: ‘language-julia:restartKernel’ failed.)

Tried it in jupyterlab and there it works fine, so seems to be with the VSCode plugin and not the kernel.

VSCode version 1.60.0 on fedora linux
jupyter extension version 2021.8.2041215044
julia extension version: 1.4.0

1 Like