Some bug when using python with ROOT

i’m not sure if it’s important in the future
it may cause a error when float,double convert
need update for
see below

/Users/chenxu/software/ROOT/install/lib/ FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
return _orig_ihook( name, *args, **kwds )

Please provide the following information:

ROOT Version (e.g. 6.12/02):
Platform, compiler (e.g. CentOS 7.3, gcc6.2):

version: 6.13/01
building time: 20180423 1317
Version time:1511
OS:mac os
Autoload cx inc of ROOT
sla loaded
WARNING: version mismatch between CFITSIO header (v3.41) and linked library (v3.43).
thetaphi2.0 loaded
thetaphi2.0 loaded
ROBAST loaded
CorsikaIO loaded

Hi @cxwx1,

You get this warning when importing some module inside ROOT? What are you exactly importing?



I’m using Python3 with tensorflow1.8, and got this warning

import tensorflow
import numpy
import ROOT
import root_numpy

Hi @cxwx1,
I understand that if you import ROOT only, without the other imports, the warning is not shown?
What is the import that makes the warning appear?


no warning if use ROOT only
using python3

import tensorflow (version 1.8, compiled from source)

maybe it’s not problem of, I made a mistake. sorry about that

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