Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to list all installed Jupyter kernels?

Tags:

python

conda

Listing all the available environments is as simple as:

$ conda env list 

Now how does one list the currently installed kernels, without having to go to the path:

$ ls /home/{{user}}/.local/share/jupyter/kernels/ 
like image 259
renatodamas Avatar asked Mar 15 '18 12:03

renatodamas


People also ask

Where can I find Jupyter kernels?

The kernel being used is in the upper right-hand corner of a Jupyter notebook (it defaults to Python 2 or Python 3 if you just use the base environments).

What is ipykernel in Python?

The IPython kernel is the Python execution backend for Jupyter. The Jupyter Notebook and other frontends automatically ensure that the IPython kernel is available. However, if you want to use a kernel with a different version of Python, or in a virtualenv or conda environment, you'll need to install that manually.


Video Answer


1 Answers

With Jupyter installed you get the list of currently installed kernels with:

$ jupyter kernelspec list  python2     /usr/local/lib/python2.7/dist-packages/ipykernel/resources testenv     /home/{{user}}/.local/share/jupyter/kernels/sparkenv 
like image 95
renatodamas Avatar answered Sep 27 '22 16:09

renatodamas