hnysy222 发表于 2020-3-30 17:30:35

socket.timeout: The read operation timed out

各位大神,我在用Python 爬虫抓图片,程序有时候可以跑几个小时,,有时候会中断报socket.timeout: The read operation timed out,,请问可能是什么原因和解决方案。谢谢。

Hello. 发表于 2020-3-30 17:32:33

出现socket.timeout: The read operation timed out错误的时候,可能是pip源不稳定,改改试试看!

六小鸭 发表于 2020-3-30 17:32:50

本帖最后由 一个账号 于 2020-3-30 17:37 编辑

https://blog.csdn.net/qq_38231051/article/details/83210600

hnysy222 发表于 2020-3-30 19:26:15

六小鸭 发表于 2020-3-30 17:32
https://blog.csdn.net/qq_38231051/article/details/83210600

以前试过,好像没起作用
页: [1]
查看完整版本: socket.timeout: The read operation timed out