-
Notifications
You must be signed in to change notification settings - Fork 46
CERN setup
Jochen Klein edited this page Sep 12, 2024
·
6 revisions
-
If you do not use
direnv
yet, add the following to your.bashrc
/.zshrc
/...eval "$(direnv hook $SHELL)"
-
Reopen your shell or source the respective rcfile.
-
Without loading an
alienv
environment, change to the root directory ofmlhep
and run (only needed once):direnv allow
-
Install required python packages and development version of
mlhep
using (only needed once):pip install -r requirements.txt pip install -e .
-
mlhep
now has its own isolated python environment, which gets activated automatically whenever you enter themlhep
directory. If you load analienv
environment before entering the directory, thealienv
environment is used instead (to retain previous behaviour).