how to use a conda environment in jupyter code example
Example 1: add conda environment to jupyter
python -m ipykernel install --user --name=firstEnv
Example 2: jupyter lab use conda environment
$ conda activate cenv
(cenv)$ conda install ipykernel
(cenv)$ ipython kernel install --user --name=<any_name_for_kernel>
(cenv($ conda deactivate