Cheatsheet
TODO: Creating, activating, using conda environments….
Code Block |
---|
module load lang # gateway module
module load Anaconda3 # actual module |
Code Block |
---|
conda create --name myenv |
Code Block |
---|
source $(conda info --base)/etc/profile.d/conda.sh
conda activate myenv |
Code Block |
---|
conda install <your package> |
You can specify the install location of an environment with the --prefix
option of conda create
.
Code Block |
---|
conda create --prefix /scratch/<group>/<username>/myproject/myenv
source activate /scratch/<group>/<username>/myproject/myenv
conda install <packagename> |