But when I run a cell with import ROOT, I get a module not found error. I’m not sure why this is happening as I thought I could just set up ROOT as I would on an Ubuntu system. Any help or advice would be appreciated!
ROOT Version: 6.28.02 Platform: Google Colab Compiler: Not Provided
Hi,
I think the correct environment is not passed to the cell, after calling !source /content/root/bin/thisroot.sh.
There should be a different way to set the correct environment variables to importing ROOT in the collar notebook cell.
However, it will still not work, because ROOT has been built with Python 3.8 and Colab uses Python 3.9. I don’t know if you can use Python3.9 in Colab. Otherwise the only solution would be to download the ROOT sources and compile it