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

  大家好,我是爱编程的喵喵。双985硕士毕业,现担任全栈工程师一职,热衷于将数据思维应用到工作与生活中。从事机器学习以及相关的前后端开发工作。曾在阿里云、科大讯飞、CCF等比赛获得多次Top名次。喜欢通过博客创作的方式对所学的知识进行总结与归纳,不仅形成深入且独到的理解,而且能够帮助新手快速入门。

  本文主要介绍了安装tensorflow时出现的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的同学们有所帮助。

1. 问题描述

  今天使用pip安装tensorflow时,出现了以下错误,如图所示:(安装命令为pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple指定国内镜像源安装更快,使用默认的国外镜像源可能报连接超时等问题)
在这里插入图片描述
  在经过了亲身的实践后,终于找到了解决问题的方案,最终将逐步的操作过程总结如下。希望能对遇到同样bug

猜你喜欢

转载自blog.csdn.net/weixin_43178406/article/details/129343473
今日推荐