layout-parser icon indicating copy to clipboard operation
layout-parser copied to clipboard

SSL Certificate error when downloading models in Python 3.9

Open lolipopshock opened this issue 3 years ago • 0 comments

Describe the bug When using Python 3.9, it might fail to download the model files and eject the following errors:

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)

A possible solution might be found here https://stackoverflow.com/questions/50236117/scraping-ssl-certificate-verify-failed-error-for-http-en-wikipedia-org/53310545#53310545, though we may need more systematic way for solving this issue in layoutparser.

lolipopshock avatar Sep 17 '21 14:09 lolipopshock