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

    1、

    pip3 list --outdated >> requests  现将要更新的列表写入requests

     

    2、对文件中的数据进行处理

    Package        Version   Latest Type

    -------------- --------- ------ -----

    asn1crypto     0.22.0    0.24.0 wheel

    attrs          17.2.0    18.1.0 wheel

    Automat        0.6.0     0.7.0  wheel

    bleach         1.5.0     2.1.3  wheel

    cffi           1.10.0    1.11.5 wheel

    cryptography   1.9       2.2.2  wheel

    cssselect      1.0.1     1.0.3  wheel

    html5lib       0.9999999 1.0.1  wheel

    hyperlink      17.2.0    18.0.0 wheel

    idna           2.5       2.7    wheel

    lxml           3.8.0     4.2.2  wheel

    获取包名

    处理后的文件名为list.txt

     

    3、 pip3 install --upgrade -r list.txt

  • 相关阅读:
    函数中this指向问题及函数不同方式的调用
    拷贝继承
    组合继承
    借用构造函数
    继承
    UVA-11054(扫描法)
    hihocoder-1347 小h的树上的朋友(lca+线段树)
    UVA-10391(字符串检索)
    UVA-10125(中途相遇法)
    UVA-10827(前缀和降维)
  • 原文地址:https://www.cnblogs.com/earendil/p/9235737.html
Copyright © 2011-2022 走看看