Hello,
Im a newbie to ROOT and PyROOT and recently installed ROOT via Ubuntu, which i wanted to use for my project. However Python is not able to find the module “ROOT” and I cant figure out why. I will be glad for any help.
Thanks
Welcome to the ROOT Forum!
Make sure ${ROOTSYS}/lib is is in your ${PYTHONPATH}. This is usually automatically set when sourcing root/bin/thisroot.sh.
echo ${ROOTSYS}
echo ${PYTHONPATH}
For example:
source build/master/bin/thisroot.sh
ubuntu@root-cmake-devel:~$ echo ${ROOTSYS}
/home/ubuntu/build/master
ubuntu@root-cmake-devel:~$ echo ${PYTHONPATH}
/home/ubuntu/build/master/lib
ubuntu@root-cmake-devel:~$
That’s what the instructions say.


