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.