1、安装beautifulsoup4

>pip install beautifulsoup4

报错超时: Read timed out.

 

2、解决办法:pip --default-timeout=100 install -U beautifulsoup4

Python安装第三方库,报错超时: Read timed out.

 

3、Beautiful Soup 是一个可以从HTML或XML文件中提取数据的Python库.它能够通过你喜欢的转换器实现惯用的文档导航,查找,修改文档的方式.BeautifulSoup配合Request使用,能大大提高爬虫效率。

 

相关文章:

  • 2021-05-26
  • 2022-12-23
  • 2021-06-30
  • 2021-07-30
  • 2022-01-15
  • 2021-08-04
  • 2021-09-20
猜你喜欢
  • 2022-01-13
  • 2021-12-15
  • 2022-12-23
相关资源
相似解决方案