jupyter lab use conda environment
$ conda activate cenv (cenv)$ conda install ipykernel (cenv)$ ipython kernel install --user --name=(cenv($ conda deactivate
Here is what the above code is Doing:
1. Create a new conda environment called cenv
2. Activate the environment
3. Install the ipykernel package
4. Install the kernel with a name of your choice
5. Deactivate the environment