zoukankan      html  css  js  c++  java
  • 更新pip

    手动pip失败

     1 ➜  ~ pip install --upgrade pip
     2 Collecting pip
     3   Downloading https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl (1.3MB)
     4     100% |████████████████████████████████| 1.3MB 91kB/s
     5 matplotlib 1.3.1 requires nose, which is not installed.
     6 matplotlib 1.3.1 requires tornado, which is not installed.
     7 matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible.
     8 Installing collected packages: pip
     9   Found existing installation: pip 10.0.0b2
    10     Uninstalling pip-10.0.0b2:
    11 
    12 You are using pip version 10.0.0b2, however version 18.1 is available.
    13 You should consider upgrading via the 'pip install --upgrade pip' command.

    强制更新

     1 ➜  ~ sudo pip  install --index https://pypi.mirrors.ustc.edu.cn/simple/ --upgrade pip
     2 Password:
     3 
     4 The directory '/Users/xxx/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
     5 The directory '/Users/xxx/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
     6 Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple/
     7 Collecting pip
     8   Downloading https://mirrors.ustc.edu.cn/pypi/web/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl (1.3MB)
     9     100% |████████████████████████████████| 1.3MB 1.8MB/s
    10 matplotlib 1.3.1 requires nose, which is not installed.
    11 matplotlib 1.3.1 requires tornado, which is not installed.
    12 matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible.
    13 Installing collected packages: pip
    14   Found existing installation: pip 10.0.0b2
    15     Uninstalling pip-10.0.0b2:
    16       Successfully uninstalled pip-10.0.0b2
    17 Successfully installed pip-18.1

  • 相关阅读:
    查询数据库对象依赖关系
    SQL Server数据库管理员必备:DBCC命令
    使用延迟的FileSystemWatcher来避免重复触发事件
    在Lambda表达式中使用递归
    如何观察SQL Server 生成和重用执行计划
    利用Lambda表达式、扩展方法以及泛型来实现一个另类的AOP
    将 SQL Server 2000 系统表映射到 SQL Server 2005 系统视图[MSDN]
    利用Lambda表达式、扩展方法以及泛型来为对象添加方法
    C# 中编译器是如何实现闭包的
    在ASP.NET中使用FileSystemWatcher来监控文件目录
  • 原文地址:https://www.cnblogs.com/halu126/p/9886050.html
Copyright © 2011-2022 走看看