So, open a new terminal window and execute (“thisroot.sh” for bash and similar, “thisroot.csh” for [t]csh):
source /full/path/to/your/ROOT/bin/thisroot.sh
then (in the same terminal window) cd to your working subdirectory and try to run your python script.
1 Like