run jupyter notebook from conda environment code example
Example 1: 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
Example 2: open jupyter notebook with conda envirionment
conda install -c anaconda ipykernel
Example 3: open jupyter notebook with conda envirionment
python -m ipykernel install --user --name=firstEnv