certificate verify failed: unable to get local issuer certificate

前端 未结 10 1277
梦如初夏
梦如初夏 2020-11-29 04:06

I am trying to get data from the web using python. I imported urllib.request package for it but while executing, I get error:

certificate verify failed: unab         


        
10条回答
  •  萌比男神i
    2020-11-29 04:49

    I would like to provide a reference. I use cmd + space, then type Install Certificates.command, and then press Enter. After a short while, the command line interface pops up to start the installation.

     -- removing any existing file or link
     -- creating symlink to certifi certificate bundle
     -- setting permissions
     -- update complete
    

    Finally, it fixes the errors.

提交回复
热议问题