在配置tensorflow的过程中,通过pip直接安装gpu版本时遇到了这个错误,查了好长时间找不到解决办法,最终摸索出解决办法如下:

我遇到的错误:

Cannot uninstall 'enum34'. 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.

解决办法:

找到enum34.egg-info,一般就在usr/lib/python2.7或者其他安装pythonxxx dist-packages等路径里,可以直接在/目录下全局搜索。然后删掉即可。

其他的package遇到这种情况方法也通用,搜索<package name>.egg-info,找到后删除即可

pip安装:Cannot uninstall ''. It is a distutils installed project and thus we cannot accurately....解决办法相关推荐

  1. 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 projec ...

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

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

  3. ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately

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

  4. Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determin

    Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determin ...

  5. 【报错】Cannot uninstall ‘certifi‘. It is a distutils installed project and thus we cannot accurately

    报错如下: Cannot uninstall 'certifi'. It is a distutils installed project and thus we cannot accurately ...

  6. Cannot uninstall 'pyOpenSSL'. It is a distutils installed project and thus we cannot accurately dete

    linux python2.7安装scrapy报错 ERROR: Cannot uninstall 'pyOpenSSL'. It is a distutils installed project a ...

  7. Cannot uninstall ‘dill‘. It is a distutils installed project and thus we cannot accurately determine

    https://coolpuppy.readthedocs.io/en/latest/walkthrough.html pip install https://github.com/open2c/co ...

  8. It is a distutils installed project and thus we cannot accurately

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

  9. 卸载wrapt_[python] 安装TensorFlow问题 解决Cannot uninstall 'wrapt'. It is a distutils installed project...

    cmd安装 pip install tensorflow 1.遇到了 ERROR: Cannot uninstall 'wrapt'. It is a distutils installed proj ...

  10. pip “Cannot uninstall ‘pip包‘. It is a distutils installed project...“ 解决方法

    pip升级更新遇到--包已经安装更新,无法安装的错误 ERROR: Cannot uninstall 'XlsxWriter'. It is a distutils installed project ...

最新文章

  1. FM的调制matlab仿真
  2. CAB归档文件提取工具cabextract
  3. leetcode算法题--子数组按位或操作
  4. Java学习之动态代理
  5. SPI通信总线-51
  6. flex布局怎么设置子元素大小_Chrome72 嵌套 flex 布局修改,你的网站可能会发生布局错乱...
  7. Java当中编码和解码(以及出现乱编码的原因)
  8. Mysql jdbc driver源码浅析(一)
  9. CSS3 背景起始位置 background-origin属性
  10. Unity上的Oculus Quest2开发(1) ——首先要空工程能在Quest上跑起来吧
  11. Fiddler软件基本配置教程
  12. phpStorm 2017.3.1,WebStorm 2017.3.4 最新版本免费注册激活方法
  13. mysql table key,MySQL中为table添加primary key的两种方法[多图]
  14. 六十星系之25廉贞天相坐子午
  15. macOS安装MySQL,使用Navicat连接MySQL数据库/2022
  16. C++基础入门丨1. 初识C++像极了C语言
  17. 银行数字化运维转型应对之道
  18. 项目管理全过程最佳实践(下)
  19. Flink Watermark相关概念(窗口、水位线、迟到事件)
  20. 用自我暗示让潜意识工作

热门文章

  1. LintCode:1000. 买卖股票的最佳时机含手续费
  2. 数字图像处理 自学笔记 (武汉大学 贾永红)
  3. 平面的几种的方程表示
  4. 如何做一个简单的类似qq网页版等的聊天网页
  5. 软件工程导论学习笔记
  6. 计算机电源 自动关机,电脑自动关机是什么原因,小编教你怎么解决电脑自动关机...
  7. HTML_多媒体效果_embed标签详解
  8. java根据身份证号码计算年龄的方法(精确到日)
  9. 利用Android Studio手动创建活动——笔记(超多图)
  10. 华硕服务器 u盘安装系统,华硕电脑u盘安装系统教程