Can't import 'TFile' in pyROOT

I am trying to use pyROOT in jupyter. I was able to import ROOT without any error, but I am not able to import other modules from ROOT. For an example:from ROOT import TFile gives me the following error

ImportError: cannot import name ‘TFile’ from ‘ROOT’ (unknown location)

ROOT Version: ROOT 6.28/06
Platform: Ubuntu

This is strange, probably your ROOT installation has some issues. How did you install ROOT ?

Hi, I have installed root from the source (build and make)

Check if uproot works in the simple python environment and also that you don’t have other versions of ROOT installed in your system that accidentally get used when using Jupyter