layout-parser
layout-parser copied to clipboard
SSL Certificate error when downloading models in Python 3.9
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.