Make IPython Kernel Available for Jupyter

Q

How to make a IPython Kernel Available for Jupyter?

✍: FYIcenter.com

A

If you have a new IPython Kernel installed in different Conda environment, than the Jupyter Conda environment, you can make new IPython Kernel available to the Jupyter server to use the different Conda environment. Here is how to do it.

1. Activate the Conda environment where IPython Kernel is installed.

fyicenter$ conda activate faq

(faq) fyicenter$ python --version
  Python 3.9.6

2. Make sure that IPython Kernel is installed.

(faq) fyicenter$ conda list | grep ipykernel
  ipykernel                 5.3.4

3. Generate the IPython Kernel Spec file.

(faq) fyicenter$ python -m ipykernel install --user --name faq \
  --display-name "FAQ"

Now the IPython Kernel in this "faq" Conda environment can be accessed by IPython clients like IPython Console and Jupyter.

 

Jupyter Server Finding Kernels

Install IPython Kernel in Conda Environment

Installing IPython as Jupyter Kernel

⇑⇑ Jupyter - Frequently Asked Questions

2022-06-17, 707🔥, 0💬