certificate verify failed: unable to get local issuer certificate

前端 未结 10 1269
梦如初夏
梦如初夏 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条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-29 04:45

    I recently had this issue while connecting to MongoDB Atlas. I updated to the latest certifi python package and it works now.

    (python 3.8, upgraded to certifi 2020.4.5.1, previously certifi version 2019.11.28)

提交回复
热议问题