Skip to content
Snippets Groups Projects
Commit 169789b2 authored by Elias Werner's avatar Elias Werner
Browse files

add conda init information before working with conda virtual environments

parent 282e4ddc
No related branches found
No related tags found
2 merge requests!530Automated merge from preview to main,!496add conda init information before working with conda virtual environments
......@@ -90,6 +90,21 @@ marie@compute$ source /scratch/ws/1/python_virtual_environment/env/bin/activate
## Conda Virtual Environment
**Prerequisite:** Before working with conda, your shell needs to be configured
initially. Therefore login to the ZIH system, load the Anaconda module and run
`conda init`. For more information use `conda init --help`. Note that changes
take effect after closing and re-opening your shell.
??? example
```console
marie@compute$ module load Anaconda3 #load Anaconda module
Module Anaconda3/2019.03 loaded.
marie@alpha$ conda init #configure shell
[...]
modified /home/marie/.bashrc
```
This example shows how to start working with **conda** and virtual environment
(with using module system). At first, we use an interactive job and create a
directory for the conda virtual environment:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment