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

  • 相关阅读:
    vagrant
    webapp开发
    UIViewAnimationOptions swift 2
    swift 2
    autolayout 总结
    apache 403错
    hadoop配置优化
    hadoop配置优化
    使用spark访问elasticsearch的数据
    使用spark访问elasticsearch的数据
  • 原文地址:https://www.cnblogs.com/earendil/p/9235737.html
Copyright © 2011-2022 走看看