Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

Custom Python Environments in Jupyter

For information on how to create custom conda enviroments, please visit our guide:

Miniconda Environment Set Up - Storrs HPC - UConn Knowledge Base

Begin by activating/creating your desired environment:

Code Block
conda create -n myenv
Info

The python version can be specified as well if necessary:
conda create -n myenv python=3.7.3

Code Block
conda activate myenv

Once you are in the enirvonment, install ipykernel with the following command:

Code Block
conda install ipykernel

Add the environment to your jupyter kernels:

Code Block
python -m ipykernel install --user --name=myenv --display-name "myenv"

Follow the previous instructions to launch jupyter. You should now be able to select the environment we just added:

...


Custom Conda Environments in Jupyter

For information on how to create custom conda enviroments, please visit our guide:

Miniconda Environment Set Up - Storrs HPC - UConn Knowledge Base

Begin by activating/creating your desired environment:

Code Block
conda create -n myenv
Info

The python version can be specified as well if necessary:
conda create -n myenv python=3.7.3

Code Block
conda activate myenv

Once you are in the enirvonment, install ipykernel with the following command:

Code Block
conda install ipykernel

Add the environment to your jupyter kernels:

Code Block
python -m ipykernel install --user --name=myenv --display-name "myenv"

Follow the previous instructions to launch jupyter. You should now be able to select the environment we just added:

...