因为Python报错:Using TensorFlow backend.
把 tensorflow卸掉,再重装。
1、用管理员模式打开Anaconda Prompt:
2、依次输入如下四行,每输入一行,执行一次:
pip uninstall tensorflow
pip uninstall tensorflow-gpu
pip install tensorflow
pip install tensorflow-gpu
关于anaconda安装tensorflow出错问题
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: ‘c:\anaconda3\lib\site-packages\~umpy\core\multiarray.cp36-win_amd64.pyd’
Consider using the --user
option or check the permissions.
尝试:
1、把打开的jupyter关掉,把pycharm关掉
参考:https://www.cnblogs.com/whu-zeng/p/6120323.html
但是重新安装pip install tensorflow 会爆红,尝试卸载,再装
还是报错
解决方法是:
pip install wrapt --ignore-installed
——————————————————————
以上仅仅作为参考学习
参考文章:https://blog.csdn.net/shuiyixin/article/details/88928354
end-------