首页 > 其他 > 详细

导入TensorFlow失败

时间:2018-02-24 20:33:43      阅读:237      评论:0      收藏:0      [点我收藏+]

C:\....\Anaconda3\envs\py35\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

使用Anaconda安装的Python3.5环境,导入TensorFlow时出现如下错误:

<<<import tensorflow as tf
C:\。..\Anaconda3\envs\py35\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

解决办法:安装Microsoft Visual C++ 2015 Redistributable Update 3 。不再报错。

技术分享图片

 

导入TensorFlow失败

原文:https://www.cnblogs.com/yihe/p/8467351.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!