win10+python遇到:Using TensorFlow backend.错误

时间:2018-03-29 17:29:15   收藏:0   阅读:20475

错误描述:Using TensorFlow backend.

一.安装Microsoft Visual C++ 2015 Redistributable Update 3 
先在https://www.microsoft.com/en-us/download/details.aspx?id=53587 
下载Microsoft Visual C++ 2015 Redistributable Update 3。 
然后安装。 
接下来重启电脑,然后卸载tensorflow:

pip uninstall tensorflow pip uninstall tensorflow-gpu

然后再重装:

pip install tensorflow pip install tensorflow-gpu

再重新导入应该不会报错了。 
如果无法解决,看下面的方法: 
二.cmd下敲命令:

pip install --upgrade --ignore-installed setuptools

 

【注】教程转载自:https://blog.csdn.net/xiangxianghehe/article/details/72795050

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!