Build ROOT from source with multiple python environments

i am planning to configure ROOT with used by geant4 and also pyROOT in some python environment. in addition, I will create python enviroments as i want in the future.

lets suppose we compiled ROOT from source in the first place, and during that time we have an active python environment in use mamba (point ROOT to the mamba’s python during compilation of the ROOT).
is it possible to have pyROOT without re-compiling the ROOT, if i create new environments with mamba after that ?


ROOT Version: > 6.28
Platform: MacOS >14


Hi @NgJunKai,
I am not sure about this, maybe @vpadulan or @jonas can help.

Cheers,
Monica