[安装TensorFlow报错]ERROR: Cannot uninstall ‘wrapt‘.

Linux操作

安装TensorFlow出现错误:

ERROR: Cannot uninstall ‘wrapt’. It is a distutils installed project and thus we cannourately determine which files belong to it which would lead to only a partial uninstal
在这里插入图片描述

解决方法:
pip install tensorflow之前

pip install wrapt --ignore-installed

成功解决:
在这里插入图片描述
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_49627776/article/details/118997260