Having multiple kernels available for Jupyter service, we may need to manage them at some point, e.g., rename kernel names and remove kernels. First, to show all available kernels, run the following command, jupyter kernelspec list we will then see output like this, Available kernels: python3 /opt/jupyterhub/lib64/python3.6/site-packages/ipykernel/resources diffpy /usr/local/share/jupyter/kernels/diffpy py37 /usr/local/share/jupyter/kernels/py37 python /usr/local/share/jupyter/kernels/python This is the full list of all available kernels on our machine and the directory specifies where the configuration file for each kernel is located. To change kernel name, we then need to go into the corresponding directory for a specific kernel and open the 'kernel.json' file to change the 'display_name' entry to whatever we want. To remove a kernel, we want to use the following command, jupyter kernelspec remove KERNEL_NAME For example, if we want to remove
Personal blog recording my learning notes for various topics.