Python 错误 104,对等方重置连接 [英] Python Error 104, connection reset by peer
本文介绍了Python 错误 104,对等方重置连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在尝试向各种主机发出 Web 请求时遇到此错误.经过一番调试后,我发现解决方案是通过 pip 更新 requests[security].
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.
推荐答案
运行
sudo python3 -m pip install "requests[security]"
或
sudo python -m pip install "requests[security]"
解决这个问题.
这篇关于Python 错误 104,对等方重置连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文