錯誤描述: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