解决h5py\_init_.py:26:FutureWarning: Conversion of the second argument of issubdtype from `float`^……

错误描述

以为TensorFlow终于装好了,这才刚用就报错了。报错信息如下图所示,
在这里插入图片描述

报错原因:
显然是h5py包内部出错,具体原理咱也不懂

问题解决

执行以下命令,更新h5py包即可。

pip install --upgrade h5py

在这里插入图片描述
可以看到h5py包更新成功。


可以看到一开始的报消失了,问题解决。

发布了59 篇原创文章 · 获赞 103 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_42292229/article/details/103312632