How to list all installed Jupyter kernels?

Question:

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/
Asked By: renatodamas

||

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
Answered By: renatodamas

For those that come here because VSCode can’t find the kernel although it is shown when using jupyter kernelspec list, try updating pyzmq.

pip install pyzmq --upgrade

Based on this answer

Answered By: Muhammad Yasirroni
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.