1.问题描述
pip install tensorflow 报错:ERROR: 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.
2.解决办法
(1)手动安装wrapt,并添加参数 --ignore-installed
pip install wrapt --ignore-installed
(2) 再次安装tensorflow 就不会报错了
pip install tensorflow
如果觉得《ERROR: Cannot uninstall ‘wrapt‘. It is a distutils installed project and thus we cannot accurately..》对你有帮助,请点赞、收藏,并留下你的观点哦!