笔者remove TensorFlow总共四次。 reinstall anaconda 三次。
安装技巧可以根据这个博主的文章进行安装。
https://www.jb51.net/article/184309.htm
我就是用这个教程安装的
因为直接用 pip install安装太慢了
所以在官网CUDA 和cuDNN+清华镜像的TensorFlow来安装比较快。
总结我的几个问题。
一、安装错误
·
(1)
tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you'll have setuptools 40.6.3
显然我们需要升级 setuptools的版本
我们在cmd中使用下列命令行来安装
python -m pip install -U pip setuptools
非常不幸的是
又出现另一个错误:
ERROR: twisted 18.7.0 requires PyHamcrest>=1.9.0, which is not installed
(笔者因为已经找TensorFlow包remove了4遍了,已经崩溃了)
为了解决这个问题
在cmd中安装
pip install PyHamcrest
安装完PyHamcrest,在运行一次更新setuptools更新的命令行就可以解决了。
(2)
ERROR: Cannot uninstall ‘wrapt'. It is a distutils installed project and