R
Runpod2w ago
Jerry

switch jupyter notebook kernel to conda environment

I have a conda environment I created that I want to be able to set as a notebook kernel, but I don't see this option. I already installed ipykernel inside my conda env and registered it as a jupyter kernel.
1 Reply
Jerry
JerryOP2w ago
python -m ipykernel install \ --prefix=/root/.local \ --name myenv \ --display-name "Python (myenv)" the key is to register the conda env to the root directory, because that is where the jupyter notebook gets its kernel list

Did you find this page helpful?