美文网首页我爱编程
h5py FutureWarning 问题修复

h5py FutureWarning 问题修复

作者: clhon | 来源:发表于2018-04-10 11:46 被阅读0次

h5py/init.py:36: 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 和 numpy 版本冲突,h5py 官方已修复合并到 master 分支,但是还没发新版,在发版之前可以用降级 numpy 的方法跳过这个问题。降级命令如下:

pip install numpy==1.13.0

referece:
https://stackoverflow.com/questions/48340392/futurewarning-conversion-of-the-second-argument-of-issubdtype-from-float-to

相关文章

网友评论

    本文标题:h5py FutureWarning 问题修复

    本文链接:https://www.haomeiwen.com/subject/twbghftx.html