Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Saransh
Employee
95 Views

Changing environment in Jupyter Lab in devcloud

Hi, 

 

I wanted to run a jupyter lab notebook with a separate environment / kernel than the one available in the selection. A custom environment that I myself created using CLI.

How do I use that conda environment in the jupyter notebooks in JupyterLab?

 

 

Thanks,

Saransh

0 Kudos
3 Replies
AthiraM_Intel
Moderator
69 Views

Hi,


Thanks for reaching out to us.


You could follow the below steps to add new environment in the jupyter notebook.


1. Activate the new environment

   source activate <env_name>


2. Install ipykernel 

   conda install ipykernel


3. Add new kernel in jupyter notebook 

   python -m ipykernel install --user --name <env_name> 


4. Open the jupyter lab and set the kernel to this environment

   Kernel-->change kernel --> select one you want


If you face any issue, please let us know.


Thanks.



Saransh
Employee
58 Views

Thanks a lot. This works for me.

AthiraM_Intel
Moderator
44 Views

Hi,

Thanks for the confirmation. If you need any additional information, please submit a new question as this thread will no longer be monitored.


Thanks


Reply