jupyter lab use conda environment code example
Example 1: jupyter add kernel conda
source activate myenv
python -m ipykernel install --user --name myenv --display-name "Python (myenv)"
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