1. 程式人生 > >win10+python遇到:Using TensorFlow backend.錯誤

win10+python遇到:Using TensorFlow backend.錯誤

target http inf redist python HR tails tensor str

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

win10+python遇到:Using TensorFlow backend.錯誤