<filename>pangeo-notebook/jupyter_notebook_config.py
import os

# Configure nb_conda_kernels to avoid registering jupyter kernels in our conda
# environment again.
c.CondaKernelSpecManager.env_filter = f'.*envs/{os.environ["CONDA_ENV"]}.*'

<filename>pangeo-notebook/jupyter_notebook_config.py
import os

# Configure nb_conda_kernels to avoid registering jupyter kernels in our conda
# environment again.
c.CondaKernelSpecManager.env_filter = f'.*envs/{os.environ["CONDA_ENV"]}.*'

# Configure nb_conda_kernels to avoid registering jupyter kernels in our conda # environment again.