I am seeing a strange behaviour difference when in import ROOT in python vs doing it in an ipython terminal. Specifically, I have some custom paths in my LD_LIBRARY_PATH environment variable. If I open a python interactive session and do:
>>> import ROOT
>>> ROOT.gSystem.GetDynamicPath()
I see my paths listed. But if instead I open an ipython terminal and do:
In [1]: import ROOT
In [2]: ROOT.gSystem.GetDynamicPath()
My custom paths are missing!?
I cannot figure out why I would get a different behaviour of ROOT when I import it in python vs in ipython? Any idea?
This is 6.22/08 and python 3.9.5 on a mac, in case it is important info.