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

 

更多推荐