ROOT module not found Error

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:(

Hi,

perhaps your environment is broken?
This is what I get:

lxplus018:~$ python
Python 2.6.6 (r266:84292, Aug 22 2016, 09:40:33) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ROOT import * 
>>> 

Cheers,
D

Hello Danilo,

Thanks alot for your reply. Yes i guess its a practical issue, may be i should use CMMSW env for working also i have asked for help to my colleague at CERN to guide me, what exact technique they are using to run it at there own end.
Meanwhile i am trying it,
Take Care and have a lovely day!

Best Rida

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.