docling-project / docling-project/docling
Cannont install docling reader from llama index
- Dominant language
- Python
- Stars
- 66.4k
- Forks
- 4.8k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 95
Description
I cannot install docling reader using ``pip install llama-index-readers-docling`` due to version conflicts with ``deepsearch-glm``. I already tried to solve the version conflict, but installing the required `deepsearch-glm`does not work as well. Specifically, version `0.22.0` does not exist, version `0.23.0` fails installing, and there are no other versions in between.
Here is the stack trace:
```
pip install llama-index-readers-docling
Collecting llama-index-readers-docling
Using cached llama_index_readers_docling-0.1.0-py3-none-any.whl.metadata (2.5 kB)
Collecting docling<2.0.0,>=1.16.1 (from llama-index-readers-docling)
Using cached docling-1.20.0-py3-none-any.whl.metadata (16 kB)
Collecting docling-core<2.0.0,>=1.7.1 (from llama-index-readers-docling)
Using cached docling_core-1.7.2-py3-none-any.whl.metadata (5.4 kB)
Collecting llama-index-core<0.12.0,>=0.11.0 (from llama-index-readers-docling)
Using cached llama_index_core-0.11.23-py3-none-any.whl.metadata (2.5 kB)
Requirement already satisfied: certifi>=2024.7.4 in /Users/sebastiansimon/GitHub/RAGX/env/lib/python3.13/site-packages (from docling<2.0.0,>=1.16.1->llama-index-readers-docling) (2025.6.15)
INFO: pip is looking at multiple versions of docling to determine which version is compatible with other requirements. This could take a while.
Collecting docling<2.0.0,>=1.16.1 (from llama-index-readers-docling)
Using cached docling-1.19.1-py3-none-any.whl.metadata (16 kB)
Using cached docling-1.19.0-py3-none-any.whl.metadata (16 kB)
Using cached docling-1.18.0-py3-none-any.whl.metadata (13 kB)
Using cached docling-1.17.0-py3-none-any.whl.metadata (13 kB)
Using cached docling-1.16.1-py3-none-any.whl.metadata (13 kB)
ERROR: Cannot install llama-index-readers-docling because these package versions have conflicting dependencies.
The conflict is caused by:
docling 1.20.0 depends on deepsearch-glm<0.23.0 and >=0.22.0
docling 1.19.1 depends on deepsearch-glm<0.23.0 and >=0.22.0
docling 1.19.0 depends on deepsearch-glm<0.23.0 and >=0.22.0
docling 1.18.0 depends on deepsearch-glm<0.23.0 and >=0.22.0
docling 1.17.0 depends on deepsearch-glm<0.23.0 and >=0.22.0
docling 1.16.1 depends on deepsearch-glm<0.22.0 and >=0.21.1
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
```
I created an [issue](https://github.com/run-llama/llama_index/issues/19167#issuecomment-2993612150) at the `llama-index` repository, but it was closed with the suggestion to open an issue here. It seems that the docling reader does not specify a deepsearch-glm dependency. Any ideas how to solve this? Thanks in advance.
Contributor guide
Research direction
Reproduce the failure with `pip install llama-index-readers-docling`, then inspect the dependency declarations for docling versions 1.16.1 through 1.20.0 and their `deepsearch-glm` requirements. Done means the documented reader installation resolves successfully with an available compatible dependency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 46/100