使用
~$ cd anaconda3
~/anaconda3$ cd bin
~/anaconda3/bin$ pip install tensorflow
下载 tensorflow,在最后时产生
Cannot uninstall ‘wrapt’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall。
的错误。
解决方案:旧版本依赖多,不能清晰的删除,此时应该忽略旧版本升级,即如下 解决办法: pip install tf-nightly-gpu-2.0-preview --ignore-installed wrapt
借鉴于https://www.jb51.net/article/160746.htm