[Python] Problem with installing Docling for Python in MacOS

Discussão em 'Python' iniciado por Stack, Maio 19, 2025.

  1. Stack

    Stack Membro Participativo

    When I am installing Docling which is a document processing library in my terminal, it raises the error

    File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['/Users/prabhjitsingh/docling-venv/bin/python3.12', 'build.py']' returned non-zero exit status 1.
    [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for docling-parse
    Failed to build docling-parse
    ERROR: Failed to build installable wheels for some pyproject.toml based projects (docling-parse)


    Please help me understand and resolve this issue

    I thought it might be some trouble with the dependencies, so I re-installed wheel and cython as well. But it doesn't seem to work.

    Here's how I installed Docling if it helps understand better - (Same error when I tried other methods)

    python3 -m venv docling-venv
    source docling-venv/bin/activate
    pip install docling

    Continue reading...

Compartilhe esta Página