pycharnpip._vendor.requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool

博主在尝试使用pip安装Pygame时遇到了ReadTimeoutError,尝试了多种网络解决方案无效。最终通过切换到手机热点进行网络连接,成功解决了下载超时的问题。
摘要由CSDN通过智能技术生成

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org',

我就想说,这破问题搞了我快两个下午了,网上各种方法读试过了,不行!!!

Error occurred:

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

Proposed solution:

Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'D:\Maindocument\pycharmDemo\venv\Scripts\python.exe'.

Command output:

Collecting Pygame
  Downloading https://files.pythonhosted.org/packages/45/34/38e7465c1aea7d570b83d9004eb0c4e783c9c1b17eb9eeb9a760c0898783/pygame-1.9.4-cp36-cp36m-win_amd64.whl (4.2MB)

最后我快要放弃的时候,突然想到,你不是说超时了吗,既然你下载这么慢,我试试手机开热点,

结果秒成功,简直是无语!

  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after conne

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值