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/
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).
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With