Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| habrok:examples:mamba [2024/12/12 07:08] – fokke | habrok:examples:mamba [2024/12/12 07:21] (current) – [Manual Mamba initialization] fokke | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Mamba (https:// | Mamba (https:// | ||
| + | |||
| + | In general Mamba and conda environments cannot be used together with **any** of our preinstalled software modules that depend on Python. | ||
| Please also note, that you should only use mamba/conda repositories that have licenses that allow your intended usage. | Please also note, that you should only use mamba/conda repositories that have licenses that allow your intended usage. | ||
| Line 19: | Line 21: | ||
| < | < | ||
| mamba config --set auto_activate_base false | mamba config --set auto_activate_base false | ||
| + | </ | ||
| + | * In case you want to use the base environment, | ||
| + | < | ||
| + | mamba activate base | ||
| </ | </ | ||
| - | ==== Tips and tricks | + | ==== Manual Mamba initialization |
| - | * In case you did not let Mamba change your login scripts, manual activation of the initial mamba/conda environment can be achieved using the following commands: | + | In case you did **not** let Mamba change your login scripts |
| < | < | ||
| - | . $HOME/ | + | . ~/ |
| - | . $HOME/ | + | . ~/ |
| </ | </ | ||
| - | * You can activate the base environment using: | + | Note that you have to run these every time you want to use Mamba. |
| - | < | + | |
| - | mamba activate base | + | ==== Modifying the login profile ===== |
| - | </ | + | |
| - | | + | In order to undo the login profile modifications for mamba you can use the following command, where bash is your actual command line shell: |
| < | < | ||
| mamba init --reverse bash | mamba init --reverse bash | ||
| </ | </ | ||
| - | You can reverse | + | |
| + | You can reverse | ||
| < | < | ||
| ~/ | ~/ | ||
| </ | </ | ||