diff --git a/doc.zih.tu-dresden.de/docs/software/custom_easy_build_environment.md b/doc.zih.tu-dresden.de/docs/software/custom_easy_build_environment.md index 02b7c4babdcb3a36e9390651aae58d2210d11e71..1a2dbe0b4de7caaa13832e46d44b247ab365d2d5 100644 --- a/doc.zih.tu-dresden.de/docs/software/custom_easy_build_environment.md +++ b/doc.zih.tu-dresden.de/docs/software/custom_easy_build_environment.md @@ -239,3 +239,27 @@ It might also be helpful to use ```console marie@compute$ export LMOD_IGNORE_CACHE=0 ``` + +(Especially) when you want to use additional features of EasyBuild, such as the +[GitHub integration](https://docs.easybuild.io/integration-with-github/), + you might need to set a specific Python version to use by EasyBuild. + +That is unrelated to any Python module you might wish to use or install! +Furthermore, when using EasyBuild you should **not** have any other modules loaded, +not even `Python`. + +Which Python executable is used by EasyBuild can be shown by executing: + +```console +marie@compute$ EB_VERBOSE=1 eb --version +``` + +You can change it by setting `EB_PYTHON`, e.g.: + +```console +marie@compute$ export EB_PYTHON=python3.8 +``` + +In case you are using a virtualenv for use with EasyBuild +then using `python` instead of `python3.8` or similar is enough +as there will be a `python` binary available inside your virtualenv.