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

错误描述: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