Python Error 104, connection reset by peer

匿名 (未验证) 提交于 2019-12-03 07:36:14

问题:

I have been having this error when trying to make web requests to various hosts. After debugging a bit I have found the solution is updating the requests[security] through pip.

回答1:

Run

sudo python3 -m pip install "requests[security]"

or

sudo python -m pip install "requests[security]"

to fix this issue.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!