Python Error 104, connection reset by peer

后端 未结 2 1561
忘掉有多难
忘掉有多难 2020-12-15 01:42

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 p

2条回答
  •  心在旅途
    2020-12-15 01:48

    Run

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

    or

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

    to fix this issue.

提交回复
热议问题