zoukankan      html  css  js  c++  java
  • pip不能安装、升级、卸载软件问题

    例如想要升级nibabel时

    使用命令:sudo pip install --upgrade nibabel

    报错:

    Cannot uninstall ‘nibabel’. 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.

    问题解析:

    旧版本依赖多,不能清晰的删除,此时应该忽略旧版本升级,即如下

    加上  --ignore-installed  

    解决办法:sudo pip install nibabel --ignore-installed nibabel

  • 相关阅读:
    LeetCode 260
    LeetCode 258
    LeetCode 237
    LeetCode 226
    LeetCode 203
    LeetCode 202
    codeforces 7D
    codefroces 7C
    codeforces 7B
    codeforces 6E (非原创)
  • 原文地址:https://www.cnblogs.com/hichens/p/12702369.html
Copyright © 2011-2022 走看看