Dropdown does not change environment

Hello,

It seems to be imposible to start a new environment from the dropdown menu.
test1 environment is activated but not active when running !conda info.
I did tests on a new tljh install.

Already checked these steps:

kernel.json
(base) jupyter-koen@ip-172-31-77-133:~$ cat /home/jupyter-koen/.local/share/jupyter/kernels/test1/kernel.json
{
“argv”: [
“/home/jupyter-koen/.conda/envs/test1/bin/python”,
“-m”,
“ipykernel_launcher”,
“-f”,
“{connection_file}”
],
“display_name”: “test1”,
“language”: “python”
}

base jupyter packages
image

!.. executes a shell command outside Jupyter, so I’m not sure if it’ll take into account the changed kernel you’ve selected from the dropdown. Does importing Python packages in your notebook from the chosen environment work correctly?