Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 6 Next »

Cheatsheet

TODO: Creating, activating, using conda environments….

module load lang       # gateway module
module load Anaconda3  # actual module
conda create --name myenv
source $(conda info --base)/etc/profile.d/conda.sh
conda activate myenv
conda install <your package>

You can specify the install location of an environment with the --prefix option of conda create.

conda create --prefix /scratch/<group>/<username>/myproject/myenv
source activate /scratch/<group>/<username>/myproject/myenv
conda install <packagename>

To set the install location more permanently, see Lang: Python.

  • No labels