ROOT 5.34/36 (heads/v5-34-00-patches@v5-34-34-76-g57bae4c, Apr 08 2016, 12:05:00 on linuxx8664gcc)
CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Dear All
I tried to run .py extension script, but i got error in it like this:
[rwaheed@lxplus096 lumicurrents2018]$ python currVsLum_v3.py
Traceback (most recent call last):
File “currVsLum_v3.py”, line 3, in
from ROOT import * #TFile, TGraph, TMultiGraph, TLegend, TCanvas, TAxis, gStyle, TLatex, TH1D
ModuleNotFoundError: No module named ‘ROOT’
[rwaheed@lxplus096 lumicurrents2018]$
While in line.no.3 in my script code is like this:
Line#1 import os, json
Line#2 from optparse import OptionParser
Line#3 from ROOT import * #TFile, TGraph, TMultiGraph, TLegend, TCanvas, TAxis, gStyle, TLatex, TH1D
Kindly help me out with this:(