分享

成功解决 from ._conv import register_converters as _register_converters

 处女座的程序猿 2021-09-28

成功解决 from ._conv import register_converters as _register_converters


解决问题

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库的函数重写即可!

    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约