Skip to content
Snippets Groups Projects
Commit b0d44012 authored by Taras Lazariv's avatar Taras Lazariv
Browse files

Merge branch 'issue-275_condaInit' into 'preview'

add conda init information before working with conda virtual environments

Closes #275

See merge request !496
parents 282e4ddc 6a7c0d3c
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@compute$ 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