配置python环境import tensorflow出现问题,求助

justina_li 2018-01-14 04:33:55
警告详情:C:\ProgramData\Anaconda3\lib\site-packages\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
...全文
9659 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
loocipher 2018-02-13
  • 打赏
  • 举报
回复
我有一个很搞笑的方法:既然这只是警告,那么屏蔽就好了。 我打开了__init__,写import sys,然后找到警告里的那行,在之前把错误输出重定向为None,之后把错误再重定向为sys.__stderr__ ,起作用了。
jgquan 2018-02-07
  • 打赏
  • 举报
回复
把numpy卸掉, 重新安装numpy-1.13.3+mkl-cp36-cp36m-win_amd64.whl
lykhahaha 2018-01-22
  • 打赏
  • 举报
回复
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

4,164

社区成员

发帖
与我相关
我的任务
社区描述
Windows专区 一般软件使用
社区管理员
  • 一般软件使用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧