失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > ERROR: Cannot uninstall ‘wrapt‘. It is a distutils installed project and thus we cannot accurately..

ERROR: Cannot uninstall ‘wrapt‘. It is a distutils installed project and thus we cannot accurately..

时间:2022-02-02 19:23:43

相关推荐

ERROR: Cannot uninstall ‘wrapt‘. It is a distutils installed project and thus we cannot accurately..

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..》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。