Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determin

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.

解决方案

conda update --all
conda remove wrapt
pip install -i https://pypi.douban.com/simple --upgrade tensorflow==2.0.0-beta1
# 版本比较低的系统安装1.5.0以及以下的,命令如下:
pip install -i https://pypi.douban.com/simple tensorflow==1.5.0 

参考:https://github.com/tensorflow/tensorflow/issues/30191

你可能感兴趣的:(深度学习)