Python FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating`

版权声明:喜欢摘录实践,如有雷同纯属喜欢 https://blog.csdn.net/qq_19707521/article/details/81530502

解决问题

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包

解决办法

对h5py进行更新升级
pip install h5py==2.8.0rc1

猜你喜欢

转载自blog.csdn.net/qq_19707521/article/details/81530502