Root in python3

Dear experts,
I when I do (1) I have the error message (2). When I do it with python2, it works fine. I’m doing that on cern (lxplus machine). Is it normal?


>>>import ROOT


Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'ROOT

It is normal if you use the default ROOT5 installation on lxplus.
It will work if you leverage LCG releases, for example sourcing LCG93:

source /cvmfs/

The description of the ecosystem these releases provide is described here.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.