[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Problem importing ROOT



Hi Agostino,

Unfortunately, the issue looks site-specific.  It looks like it might be a bad install of PyROOT or an updated version of ROOT.  It might be best to take it up with the local site administrators (CERN?).

Brian

> On Aug 10, 2020, at 12:59 PM, Agostino De Iorio <agostino.de.iorio@xxxxxxx> wrote:
> 
> Dear HTCondor community,
> 
> since last Monday I'm having a problem with jobs on HTCondor. I submit a script in python that makes use of ROOT. The jobs fail on the import ROOT:
> 
> Traceback (most recent call last):
>   File "condor_exec.exe", line 4, in <module>
>     import ROOT
>   File "/usr/lib64/python2.7/site-packages/ROOT/__init__.py", line 34, in <module>
>     import cppyy
>   File "/usr/lib64/python2.7/site-packages/cppyy/__init__.py", line 64, in <module>
>     libcppyy_mod_name, major, minor))
> ImportError: Failed to import libcppyy2_7. Please check that ROOT has been built for Python 2.7
> 
> I read that PyROOT is in upgrade but I was not able to find more information on how to import it correctly. On lxplus ROOT works fine with python 2.7 but it doesn't work with python3 instead. Could you help me on this?
> 
> Thank you in advance.
> 
> Best,
> 
> Agostino
> 
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/