1. conda install nb_conda

  2. Check the environment.

conda env list

  1. Enter into the environment.

conda activate env

  1. install a package at your new env

conda install ipykernel or

conda install -n your_env ipykernel

python -m ipykernel install --env