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:14] – [Tips and tricks] 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 | ||
</ | </ | ||
==== Manual Mamba initialization ==== | ==== Manual Mamba initialization ==== | ||
- | In case you did not let Mamba change your login scripts during the installation, | + | In case you did **not** let Mamba change your login scripts during the installation, |
< | < | ||
- | . $HOME/ | + | . ~/ |
- | . $HOME/ | + | . ~/ |
</ | </ | ||
Note that you have to run these every time you want to use Mamba. | Note that you have to run these every time you want to use Mamba. | ||
==== Modifying the login profile ===== | ==== Modifying the login profile ===== | ||
- | |||
- | * You can activate the base environment using: | ||
- | < | ||
- | mamba activate base | ||
- | </ | ||
In order to undo the login profile modifications for mamba you can use the following command, where bash is your actual command line shell: | In order to undo the login profile modifications for mamba you can use the following command, where bash is your actual command line shell: |