Hi all,
I am trying to run a code which converts root files to numpy arrays on my /afs space on lxplus,
the code was running perfectly until recently I started getting error regarding that the current “root numpy” version installed for ROOT 6.16/00.
Is there a way to overcome this since I have very limited to no rights when it comes to modifying/updating software on lxplus.
python2.7 tree_to_np.py /eos/cms/store/group/comm_dqm/ML4DC_2019/ML4DC_AODNtuples_2018 -d=/afs/cern.ch/work/r/runiyal/public/
the output to this is
Error in TCling::RegisterModule: cannot find dictionary module libPyROOT_rdict.pcm
/afs/cern.ch/user/r/runiyal/.local/lib/python2.7/site-packages/root_numpy/init.py:34: RuntimeWarning: ROOT 6.18/00 is currently active but you installed root_numpy against ROOT 6.16/00. Please consider reinstalling root_numpy for this ROOT version.
RuntimeWarning)
Traceback (most recent call last):
File “tree_to_np.py”, line 3, in
import root_numpy
File “/usr/lib64/python2.7/site-packages/ROOT.py”, line 531, in _importhook
return _orig_ihook( name, *args, **kwds )
File “/afs/cern.ch/user/r/runiyal/.local/lib/python2.7/site-packages/root_numpy/init.py”, line 51, in
from ._tree import (
File “/usr/lib64/python2.7/site-packages/ROOT.py”, line 531, in _importhook
return _orig_ihook( name, *args, **kwds )
File “/afs/cern.ch/user/r/runiyal/.local/lib/python2.7/site-packages/root_numpy/_tree.py”, line 6, in
from . import _librootnumpy
File “/usr/lib64/python2.7/site-packages/ROOT.py”, line 531, in _importhook
return _orig_ihook( name, *args, **kwds )
ImportError: libCore.so.6.16: cannot open shared object file: No such file or directory
Thanks in advance!
Rishabh