Add your Conda environment to your Jupyter Notebook
By default, Jupyter Notebook will only display a single kernel (called ipykernel) when installed in a new environment. Here’s a procedure for choosing another Conda environment in a Jupyter Notebook.
Jupyter Notebook’s default kernel is called ipykernel and often isn’t much use.
To enable a kernel from your Conda environment in Jupyter Notebooks, open a command prompt and activate your target environment. In my case, the environment is called pcv2:
Next, enter the following Conda command:
conda install -c anaconda ipykernel
python -m ipykernel install --user --name=pcv2
Now activate your Jupyter Notebook:
When Jupyter Notebook opens, the new kernel should be available. Within Jupyter, you can select the new kernel via Kernel > Change Kernel > [Kernel Name].
No comments have yet been submitted. Be the first!