• 【python】如何安装requests


    在cmd窗口输入pip install requests 即可,如下

    C:Usershorn1Desktoppython4>pip install requests
    Collecting requests
    Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
    100% |████████████████████████████████| 92kB 253kB/s
    Collecting certifi>=2017.4.17 (from requests)
    Downloading certifi-2018.1.18-py2.py3-none-any.whl (151kB)
    100% |████████████████████████████████| 153kB 724kB/s
    Collecting chardet<3.1.0,>=3.0.2 (from requests)
    Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 1.1MB/s
    Collecting idna<2.7,>=2.5 (from requests)
    Downloading idna-2.6-py2.py3-none-any.whl (56kB)
    100% |████████████████████████████████| 61kB 1.3MB/s
    Collecting urllib3<1.23,>=1.21.1 (from requests)
    Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
    100% |████████████████████████████████| 133kB 1.3MB/s
    Installing collected packages: certifi, chardet, idna, urllib3, requests
    Successfully installed certifi-2018.1.18 chardet-3.0.4 idna-2.6 requests-2.18.4 urllib3-1.22
    You are using pip version 9.0.1, however version 9.0.3 is available.
    You should consider upgrading via the 'python -m pip install --upgrade pip' command.

  • 相关阅读:
    斐波那契数列
    MySQL
    GIT
    shell执行Python并传参
    摘选改善Python程序的91个建议2
    摘选改善Python程序的91个建议
    django执行原生sql
    admin
    分支&循环
    git
  • 原文地址:https://www.cnblogs.com/heyang78/p/8668276.html
Copyright © 2020-2023  润新知