Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove previous version from Jupyter?

I have two versions of Julia in my Jupyter. Please see the following picture. Programming Language Drop-down list

Julia 0.5.0 is not working, as it shows "kernel error". I want to delete it from the Programming Language Drop-down list. Can anyone tell me how to delete it? Thank you for your help.

like image 699
student Avatar asked Jul 04 '17 21:07

student


1 Answers

Run jupyter kernelspec list on the command line to get the paths of all your kernels.

It would show kernel names like

Available kernels:
  julia-1.0    /home/user/.local/share/jupyter/kernels/julia-1.0
  julia-1.1    /home/user/.local/share/jupyter/kernels/julia-1.1
  python3      /home/user/anaconda3/share/jupyter/kernels/python3

And then you can run

jupyter kernelspec uninstall julia-1.0

to remove the old kernel that you want to remove.

like image 198
Louise Davies Avatar answered Sep 30 '22 20:09

Louise Davies