成功解决 from ._conv import register_converters as _register_converters

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_41185868/article/details/82892263

解决问题

F:\Program Files\Python\Python36\Lib\site-packages\h5py\__init__.py:34: 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`.
  from ._conv import register_converters as _register_converters

解决思路

    是因为你所使用的h5py库,有一部分函数与numpy1.14有冲突,据说h5py的开发者,将会在下个版本中对这个警告进行修复。所以,期待吧!

 

解决方法

T1、对h5py库进行降级,比如使用numpy==1.13.0
T2、重新对h5py库的函数重写即可!

猜你喜欢

转载自blog.csdn.net/qq_41185868/article/details/82892263