ROOTInstall
Start with a clean python env
python3 -m venv ROOTenv source ROOTenv/bin/activate
Build root
https://root.cern/install/#build-from-source
==` bash git clone –branch latest-stable –depth=1 https://github.com/root-project/root.git rootsrc mkdir rootbuild rootinstall && cd rootbuild #+BEGINSRC
Need to install cmake brew install cmake
#+ENDSRC bash cat ~/setupROOT.sh cmake -DCMAKEINSTALLPREFIX=../rootinstall ../rootsrc cmake –build . – install -j4 #+BEGINSRC
Then
source ../root_install/bin/thisroot.sh
Now works!
Setup script
Run this each time after login
#+ENDSRCbash source python-environments/ROOTenv/bin/activate source python-environments/ROOTenv/rootinstall/bin/thisroot.sh ==`
Follow-ups
More details here: https://root.cern/install/build_from_source/
Links:
202407241115