Skip to content

Dear Internet Explorer user: Your browser is no longer supported

Please switch to a modern browser such as Microsoft Edge, Mozilla Firefox or Google Chrome to view this website's content.

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.

The default and only available kernel in Jupyter Notebook is called “ipykernel”.

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:

activate pcv2

Next, enter the following Conda command:

conda install -c anaconda ipykernel


python -m ipykernel install --user --name=pcv2

Now activate your Jupyter Notebook:

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].

Multiple kernels available in Jupyter Notebook.


No comments have yet been submitted. Be the first!

Have Your Say

The following HTML is permitted:
<a href="" title=""> <b> <blockquote cite=""> <code> <em> <i> <q cite=""> <strike> <strong>

Comments will be published subject to the Editorial Policy.