You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

For internal staff and debugging, also possibly useful for new OOD users: jupyterlab , OpenOnDemand

Customizing Jupyterlab with Anaconda environments

Step one is to load an anaconda_<cpu, gpu, mi100> that you want to use as your base installation and initialize your default login shell to use conda environments.

conda init bash
[arnoldg@dt-login03 scripts]$ module load anaconda3_cpu
[arnoldg@dt-login03 scripts]$ conda init bash

conda init bash error messages

You may see error messages from conda init bash above.  Just control-c through them and continue.  As long as conda added code to the end of your .bashrc (or similar for other shells), things will work properly.

Start a new shell with bash or a new terminal or login session with Delta.  You'll now see this prompt showing that you are within the conda environment you initially chose.  If you want to change environments later (say to anaconda3_mi100) you can edit your .bashrc and do another "conda init bash" with that new module loaded.

  • No labels