SSL error : routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

后端 未结 7 1980
梦毁少年i
梦毁少年i 2020-12-15 03:56

I have a large number of file download links in a txt file. I am trying to write a python script to download all the files at once, but I end up wi

7条回答
  •  一生所求
    2020-12-15 04:34

    Got this same error recently in a python app using requests on ubuntu 14.04LTS, that I thought had been running fine (maybe it was and some update occurred). Doing the steps below fixed it for me:

    pip install --upgrade setuptools
    pip install -U requests[security]
    

    Here is a reference: https://stackoverflow.com/a/39580231/996117

提交回复
热议问题