Skip to content

Instruction to use custom conda environment in OnDemand

Ke Yu edited this page Jan 26, 2021 · 9 revisions

1. Create and activate your own conda environment

conda activate myenv

2. Install ipykernel

pip install ipykernel

3. Link an ipykernel to the activated conda environment

python -m ipykernel install --user --name=myenv

4. Select the desired kernel

Log in OnDemand and go to the Home Page. Create a new notebook using the desired kernel. image

5. Change kernel in an opened notebook

You can also change kernel for an existing notebook by following steps: Kernel -> Change kernel image