Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001A73833FD00>: Failed to establish a new connection: [WinError 10060]

报错 Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001A73833FD00>: Failed to establish a new connection: [WinError 10060] 

 

pip3 uninstall requests urllib3  # 先卸载

pip3 install requests==2.27  urllib3==1.25.8 -i https://pypi.doubanio.com/simple # 指定版本安装,不然默认会装最新版

 

摘自:https://www.cnblogs.com/Eeyhan/p/14610998.html

 
 
 
 
 
 
 
 
 
 
posted @ 2023-09-23 10:16  modys  阅读(562)  评论(0编辑  收藏  举报