码迷,mamicode.com
首页 > 其他好文 > 详细

导入TensorFlow失败

时间:2018-02-24 20:45:50      阅读:8085      评论:0      收藏:0      [点我收藏+]

标签:packages   converter   asp   python3.5   使用   oat   tar   www.   color   

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失败

标签:packages   converter   asp   python3.5   使用   oat   tar   www.   color   

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

(0)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!