DS4SD / docling

Get your documents ready for gen AI
https://ds4sd.github.io/docling
MIT License
10.52k stars 509 forks source link

SSL error on "Downloading detection model " #328

Closed JensGM closed 1 week ago

JensGM commented 1 week ago

Bug

I cannot run converter.convert('...') due to failing to downloading the detection model. Specifically, I get the following exception:

URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>

Steps to reproduce

Attempt to convert document with clean install

Docling version

(venv3.12) pipelines0$> docling --version Docling version: 2.5.2 Docling Core version: 2.3.2 Docling IBM Models version: 2.0.3 Docling Parse version: 2.0.3

Python version

Python 3.12.6

PeterStaar-IBM commented 1 week ago

@JensGM which OS do you use? It looks to me that you miss a local certifcate (see here).

JensGM commented 1 week ago

@JensGM which OS do you use? It looks to me that you miss a local certifcate (see here).

Thanks, this was the issue. It was macos