欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

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

发布时间:2025/3/20 编程问答 32 豆豆
生活随笔 收集整理的这篇文章主要介绍了 解决h5py\_init_.py:26:FutureWarning: Conversion of the second argument of issubdtype from `float`^…… 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

错误描述

以为TensorFlow终于装好了,这才刚用就报错了。报错信息如下图所示,

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

问题解决

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

pip install --upgrade h5py


可以看到h5py包更新成功。


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

总结

以上是生活随笔为你收集整理的解决h5py\_init_.py:26:FutureWarning: Conversion of the second argument of issubdtype from `float`^……的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。