zoukankan      html  css  js  c++  java
  • 【Python】安装requests和BeautifulSoup4的记录

    Python版本:Python 3.7.4

    pip3版本:pip 21.2.4

    安装requests:

    C:\hy\py>pip3 install requests
    Collecting requests
      Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB)
         |████████████████████████████████| 62 kB 252 kB/s
    Collecting certifi>=2017.4.17
      Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
         |████████████████████████████████| 145 kB 939 kB/s
    Collecting urllib3<1.27,>=1.21.1
      Downloading urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
         |████████████████████████████████| 138 kB 3.3 MB/s
    Collecting charset-normalizer~=2.0.0
      Downloading charset_normalizer-2.0.6-py3-none-any.whl (37 kB)
    Collecting idna<4,>=2.5
      Downloading idna-3.2-py3-none-any.whl (59 kB)
         |████████████████████████████████| 59 kB 1.8 MB/s
    Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
    Successfully installed certifi-2021.5.30 charset-normalizer-2.0.6 idna-3.2 requests-2.26.0 urllib3-1.26.6

    安装BeautifulSoup4

    C:\hy\py>pip3 install BeautifulSoup4
    Collecting BeautifulSoup4
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A8BA54CC88>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/69/bf/f0f194d3379d3f3347478bd267f754fc68c11cbf2fe302a6ab69447b1417/beautifulsoup4-4.10.0-py3-none-any.whl
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A8BA558948>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/69/bf/f0f194d3379d3f3347478bd267f754fc68c11cbf2fe302a6ab69447b1417/beautifulsoup4-4.10.0-py3-none-any.whl
      Downloading beautifulsoup4-4.10.0-py3-none-any.whl (97 kB)
         |████████████████████████████████| 97 kB 734 kB/s
    Collecting soupsieve>1.2
      Downloading soupsieve-2.2.1-py3-none-any.whl (33 kB)
    Installing collected packages: soupsieve, BeautifulSoup4
    Successfully installed BeautifulSoup4-4.10.0 soupsieve-2.2.1

    END

  • 相关阅读:
    Mosaic 前端微服务框架
    使用skipper 扩展fabio 的路由&&http proxy 功能
    Introducing Makisu: Uber’s Fast, Reliable Docker Image Builder for Apache Mesos and Kubernetes
    lua-resty-shell 多任务执行
    openresty 使用lua-resty-shell 执行shell 脚本
    ncm 让跨项目配置一致性简单的工具
    lapis 项目添加prometheus 监控集成grafana
    使用prometheus+ grafana+nginx-module-vts 模块监控openresty
    两天快速开发一个自己的微信小程序
    笔记本如何查看mac地址
  • 原文地址:https://www.cnblogs.com/heyang78/p/15315915.html
Copyright © 2011-2022 走看看