# TLJH python environments don't appear on the user interface

**URL:** <https://discourse.jupyter.org/t/tljh-python-environments-dont-appear-on-the-user-interface/11677>\
**Category:** The Littlest JupyterHub\
**Tags:** jupyterhub, help-wanted\
**Created:** [November 15, 2021, 12:36pm UTC](https://discourse.jupyter.org/t/tljh-python-environments-dont-appear-on-the-user-interface/11677 "2021-11-15T12:36:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![flo.beyer](https://avatars.discourse-cdn.com/v4/letter/f/bb73d2/32.png) [@flo.beyer](https://discourse.jupyter.org/u/flo.beyer)\
**Post date:** [November 15, 2021, 12:36pm UTC](https://discourse.jupyter.org/t/tljh-python-environments-dont-appear-on-the-user-interface/11677/1 "2021-11-15T12:36:00Z")

</div>

Hi,

I’m running a TLJH on a remote server.  
Everything works quite fine except that the environments I created don’t show up in the browser.  
I used the following command to create the environment:

```auto
sudo -E conda create -n flo -c conda-forge python=3.6 ipykernel

```

When I check the environments `sudo -E conda env list`, the new environment is in the list.  
However, there is no option to start a notebook with the new kernel.  
(I restarted the hub, and I also restarted the machine… nothing worked)

What can I do to find the solution?

Infos:  
Ubuntu 18.04.5 LTS  
JupyterHub version 1.5.0  
Python 3.9.7

tljh-config:

```auto
users:
  admin:
  - xxx
https:
  enabled: true
  tls:
    key: xxx
    cert: xxx
user_environment:
  default_app: jupyterlab
services:
  cull:
    timeout: 259200
    max_age: 0

```

---

<div class="post-metadata">

**Author:** ![minrk](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/minrk/32/13_2.png) [@minrk](https://discourse.jupyter.org/u/minrk)\
**Post date:** [November 16, 2021, 2:01pm UTC](https://discourse.jupyter.org/t/tljh-python-environments-dont-appear-on-the-user-interface/11677/2 "2021-11-16T14:01:44Z")

</div>

Jupyter doesn’t list kernels from other envs by default. You can either register them explicitly:

```bash
/path/to/env/bin/python -m ipykernel install --prefix /path/to/user/env

```

or you can install a package like `nb_conda_kernels` into the user env, which attempts to discover kernels in envs automatically.

---

<div class="post-metadata">

**Author:** ![flo.beyer](https://avatars.discourse-cdn.com/v4/letter/f/bb73d2/32.png) [@flo.beyer](https://discourse.jupyter.org/u/flo.beyer)\
**Post date:** [November 17, 2021, 7:12am UTC](https://discourse.jupyter.org/t/tljh-python-environments-dont-appear-on-the-user-interface/11677/3 "2021-11-17T07:12:00Z")

</div>

Thanks a lot @minrk . I installed the `nb_conda_kernels` into the base environment and restarted the server.  
Now every environment is finally displayed!

---

<div class="post-metadata">

**Author:** ![mupsje](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/mupsje/32/6990_2.png) [@mupsje](https://discourse.jupyter.org/u/mupsje)\
**Post date:** [May 13, 2022, 8:37am UTC](https://discourse.jupyter.org/t/tljh-python-environments-dont-appear-on-the-user-interface/11677/4 "2022-05-13T08:37:08Z")

</div>

> [@flo.beyer](#):
>
> ow every environment is finally display

hi,

Can you please share the codes here?

Also a minor thing, I miss then a “terminal” for that kernel.

greets Remco

---

<div class="post-metadata">

**Author:** ![flo.beyer](https://avatars.discourse-cdn.com/v4/letter/f/bb73d2/32.png) [@flo.beyer](https://discourse.jupyter.org/u/flo.beyer)\
**Post date:** [May 13, 2022, 10:49am UTC](https://discourse.jupyter.org/t/tljh-python-environments-dont-appear-on-the-user-interface/11677/5 "2022-05-13T10:49:00Z")

</div>

No sure @mupsje , what you mean with ‘codes’, but you can install packages in the TLJH terminal like:

`sudo -E conda install -n environment_name -c conda-forge package_name`

_environment\_name_ = `base`  
_package\_name_ = `nb_conda_kernels`

---

<div class="post-metadata">

**Author:** ![mupsje](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/mupsje/32/6990_2.png) [@mupsje](https://discourse.jupyter.org/u/mupsje)\
**Post date:** [May 13, 2022, 5:22pm UTC](https://discourse.jupyter.org/t/tljh-python-environments-dont-appear-on-the-user-interface/11677/6 "2022-05-13T17:22:07Z")

</div>

> [@flo.beyer](#):
>
> sudo -E conda install -n environment\_name -c conda-forge package\_name

Hi, what I mean is,

I would like to have a extra clean Python 3.8.10 Environment.  
What do I need to do for this?  
I see allot of noise on the internet.  
And then I see this thread.  
Thanks for the patciense  
greets Remco
