# Add a python runtime

**URL:** <https://discourse.jupyter.org/t/add-a-python-runtime/13179>\
**Category:** Kernels\
**Created:** [February 26, 2022, 1:17pm UTC](https://discourse.jupyter.org/t/add-a-python-runtime/13179 "2022-02-26T13:17:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uthred\_Ragnorson](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/uthred_ragnorson/32/6425_2.png) [@Uthred\_Ragnorson](https://discourse.jupyter.org/u/Uthred_Ragnorson)\
**Post date:** [February 26, 2022, 1:17pm UTC](https://discourse.jupyter.org/t/add-a-python-runtime/13179/1 "2022-02-26T13:17:49Z")

</div>

I have few python runtimes located in my home directory. /u/py/anaconda1, /u/py/anaconda2, /u/py/anaconda3.  
I would like to have Jupyterhub see these runtimes. How do I do that?

---

<div class="post-metadata">

**Author:** ![creepingphlox](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/creepingphlox/32/6964_2.png) [@creepingphlox](https://discourse.jupyter.org/u/creepingphlox)\
**Post date:** [April 17, 2022, 3:41am UTC](https://discourse.jupyter.org/t/add-a-python-runtime/13179/2 "2022-04-17T03:41:27Z")

</div>

You need to install `ipython` in those environments.

Then you can “install” the kernel spec and make it visible to Jupyter clients:

```bash
ipython kernel install --user --name <name> --display-name <name>`.

```

The `--name <name>` will be the filename of the kernel, and the `--display-name <name>` will be the name shown in the kernel list in Jupyter Notebook/Lab. You can omit `--display-name`, then it will just re-use the filename.

In the case of Conda specifically, you can also make _all_ of your Conda environments automatically visible to Jupyter with the [`nb_conda_kernels`](https://github.com/Anaconda-Platform/nb_conda_kernels) package. This package should be installed in the same environment that you use to run Jupyter, _not_ in the various Conda environments that you want to use as kernels.
