安装tensorflow报错Cannot uninstall 'warpt'的解决办法

今天安装tensorflow有如下报错

微信截图_20230316191428.png

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.

我们可以直接忽略报错进行安装即可,执行以下命令

pip install wrapt --ignore-installed

然后再安装tensorflow则可以顺利安装完。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://sulao.cn/post/910.html

我要评论

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。