FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated
0.环境
win10 x64
python3.5.3
numpy1.4.3
h5py2.7
1.原因
h5py新版本对numpy1.4版本的兼容错误,将在下个版本修复,可以忽略。
https://github.com/h5py/h5py/issues/974
2.解决
强迫症不行忽略的话就降级下numpy。我是anaconda的环境:
conda install numpy==1.3.0