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.
问题描述:
安装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.”
pip install tensorflow==1.15.0
解决办法:
将命令更改为:
pip install tensorflow==1.15.0 --ignore-installed wrapt