diff --git a/doc.zih.tu-dresden.de/docs/software/python_virtual_environments.md b/doc.zih.tu-dresden.de/docs/software/python_virtual_environments.md index a713f985755cc8e313beb403114763a7bcc3aef8..07f38ccf1f6ec0b37c451f6bd33f7711c65403e1 100644 --- a/doc.zih.tu-dresden.de/docs/software/python_virtual_environments.md +++ b/doc.zih.tu-dresden.de/docs/software/python_virtual_environments.md @@ -165,6 +165,15 @@ can deactivate the conda environment as follows: (conda-env) marie@compute$ conda deactivate #Leave the virtual environment ``` +!!! warning + When installing conda packages via `conda install`, ensure to have enough main memory requested + in your job allocation. + +!!! hint + We do not recommend to use conda environments together with easybuild modules due to + dependency conflicts. Nevertheless, if you need easybuild modules, consider installing conda + packages via `conda install --no-deps [...]` to prevent conda from installing dependencies. + ??? example This is an example on partition Alpha. The example creates a conda virtual environment, and @@ -187,9 +196,10 @@ can deactivate the conda environment as follows: [...] Preparing transaction: done Verifying transaction: done + (my-torch-env) marie@alpha$ which python # ensure to use the correct Python (my-torch-env) marie@alpha$ python -c "import torchvision; print(torchvision.__version__)" - 0.10.0+cu102 - (my-torch-env) marie@alpha$ deactivate + 0.12.0 + (my-torch-env) marie@alpha$ conda deactivate ``` ### Persistence of Conda Virtual Environment