I have written a python script and I tried running it in terminal and I was told that the root module could not be found. When using another python module the same thing happened to me, and to use the code I wrote for that I had to use a sudo command and go into a certain environment before I could use the code I wrote.
Do I have to do a similar thing for root? If I do what commands do I need to use?
is the ROOT environment set up (. my/path/to/root/bin/thisroot.sh)?
Is PyROOT available, e.g. the ROOT.py module in the lib directory of ROOT?
Did you compile ROOT yourself, found it installed on the machine you are working with or are you using a central afs/cvmfs installation?