Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/ROOT/_facade.py", line 294, in RDF
ns.Experimental = _create_rdf_experimental_distributed_module(ns)
File "/usr/lib64/python3.6/site-packages/ROOT/_facade.py", line 61, in _create_rdf_experimental_distributed_module
import DistRDF
File "/usr/lib64/python3.6/site-packages/ROOT/_facade.py", line 150, in _importhook
return _orig_ihook(name, *args, **kwds)
ModuleNotFoundError: No module named 'DistRDF'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "myPlotter.py", line 6, in <module>
df = ROOT.RDF.MakeCsvDataFrame("../output/Lotse1/Lotse0_record.csv")
File "/usr/lib64/python3.6/site-packages/ROOT/_facade.py", line 296, in RDF
raise Exception('Failed to pythonize the namespace RDF')
Exception: Failed to pythonize the namespace RDF
I just tried to run those commands with v6.24.06 installed via conda and things work fine, so the problem seems to be with your environment/installation: it’s missing the DistRDF part. @vpadulan any idea how this could happen?
Indeed it should not happen with v6.24/06 (or any consecutive version). One possible cause may be a build from source that went bad, somehow the DistRDF module was removed after the build maybe? Building with pyroot and dataframe will always also install the distributed module.
That was an installation via sudo yum install root at some point in CentOS 8.
I fixed with sudo yum update root. So indeed, maybe something went bad with an installation…