Hello , I am trying to import ROOT on a Jupiter notebook but I get the following error:
ModuleNotFoundError: No module named ‘libROOTPythonizations3_8’. Have you got any idea on how to solve it ?
It seems then that your ROOT installation has only been built for Python2.7.16. When starting Jupyter, please make sure you use a Python2 Jupyter kernel (the one you are using now seems to be Python3.8).
This other error indicates that Python does not find the ROOT module. For that purpose, please do source $ROOTSYS/bin/thisroot.sh, where $ROOTSYS is your ROOT installation dir, and then from the same terminal session run jupyter again.
Hello,
This is probably another problem in the environment that you are using - looks like some problem with the ROOT installation this time, since cppyy should definitely be there.
May I suggest to install and use ROOT via conda? That way the environment you’ll use will be more under control: