Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Warning
Due to how Linux uses read permissions, if you don't want to make your /home/ directory readable by all and restrict reading on your subfolders you cannot share environments created in your ~/.conda/ folder.


This guide will walk you through the process of creating a shareable environment outside your home directory to avoid you having to change permissions in your /home/ directory.

...

To create an environment outside the default location of ~/.conda/envs, you will need to use the prefix option during the environment creation process.

There is a shared directory available at /home/SE/ where you can put your environment that is readable by all users (but not writeable).

As a recommendation, you should add your initials after the environment name to differentiate your environment from someone else who made their own and named it similarly. 

...

Please refer to the documentation for more details on using these environments: Switching Environments: Jupyter Notebook/LabSwitching Environments: conda


Warning

In order to make your environment visible in the interactive apps (Jupyter Labs/Notebooks) you will need to install the kernel for the languages in your environment.

You can do this with the following commands within the environment you want to use:

To install the python kernel run: conda install -c anaconda ipykernel

To install the R kernel run: conda install -c r r-irkernel


Tip

If you want to have all shared environments visible and able to be activated by name alone, simply run the following command

Code Block
conda config --append envs_dirs /home/SE