Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install on macOS #1137

Closed
sebo83910 opened this issue Mar 9, 2025 · 1 comment
Closed

Can't install on macOS #1137

sebo83910 opened this issue Mar 9, 2025 · 1 comment
Labels
question Further information is requested

Comments

@sebo83910
Copy link

Question

Hello,
I would like to use docking on macOS. The installation instructions states it is a supported OS.
When I try to install the docling package, I do have a failure.

`ERROR: Cannot install docling==1.10.0, docling==1.11.0, docling==1.12.0, docling==1.12.1, docling==1.12.2, docling==1.13.0, docling==1.13.1, docling==1.14.0, docling==1.15.0, docling==1.16.0, docling==1.16.1, docling==1.17.0, docling==1.18.0, docling==1.19.0, docling==1.19.1, docling==1.2.0, docling==1.2.1, docling==1.20.0, docling==1.3.0, docling==1.4.0, docling==1.5.0, docling==1.6.0, docling==1.6.1, docling==1.6.2, docling==1.6.3, docling==1.8.5, docling==1.9.0, docling==2.0.0, docling==2.1.0, docling==2.2.0, docling==2.2.1 and docling==2.3.0 because these package versions have conflicting dependencies.

The conflict is caused by:
docling 2.3.0 depends on torch<2.3.0 and >=2.2.2; sys_platform == "darwin" and platform_machine == "x86_64"
docling 2.2.1 depends on torch<2.3.0 and >=2.2.2; sys_platform == "darwin" and platform_machine == "x86_64"
docling 2.2.0 depends on torch<2.3.0 and >=2.2.2; sys_platform == "darwin" and platform_machine == "x86_64"
docling 2.1.0 depends on torch<2.3.0 and >=2.2.2; sys_platform == "darwin" and platform_machine == "x86_64"
docling 2.0.0 depends on torch<2.3.0 and >=2.2.2; sys_platform == "darwin" and platform_machine == "x86_64"
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
docling 1.16.0 depends on deepsearch-glm<0.22.0 and >=0.21.1
docling 1.15.0 depends on deepsearch-glm<0.22.0 and >=0.21.1
docling 1.14.0 depends on deepsearch-glm<0.22.0 and >=0.21.1
docling 1.13.1 depends on deepsearch-glm<0.22.0 and >=0.21.1
docling 1.13.0 depends on deepsearch-glm<0.22.0 and >=0.21.1
docling 1.12.2 depends on deepsearch-glm<0.22.0 and >=0.21.0
docling 1.12.1 depends on deepsearch-glm<0.22.0 and >=0.21.0
docling 1.12.0 depends on deepsearch-glm<0.22.0 and >=0.21.0
docling 1.11.0 depends on deepsearch-glm<0.22.0 and >=0.21.0
docling 1.10.0 depends on deepsearch-glm<0.22.0 and >=0.21.0
docling 1.9.0 depends on deepsearch-glm<0.20.0 and >=0.19.1
docling 1.8.5 depends on deepsearch-glm<0.20.0 and >=0.19.1
docling 1.6.3 depends on docling-parse<0.3.0 and >=0.2.0
docling 1.6.2 depends on docling-parse<0.3.0 and >=0.2.0
docling 1.6.1 depends on docling-parse<0.3.0 and >=0.2.0
docling 1.6.0 depends on docling-parse<0.3.0 and >=0.2.0
docling 1.5.0 depends on docling-parse<0.3.0 and >=0.2.0
docling 1.4.0 depends on docling-parse<0.3.0 and >=0.2.0
docling 1.3.0 depends on docling-parse<0.0.2 and >=0.0.1
docling 1.2.1 depends on docling-parse<0.0.2 and >=0.0.1
docling 1.2.0 depends on docling-parse<0.0.2 and >=0.0.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`

there might be a problem with my installation but it is not clear to me how to solve it.
Could anyone give me some help?
My python version is 3.13.2.
Thanks.

S/

@sebo83910 sebo83910 added the question Further information is requested label Mar 9, 2025
@dolfim-ibm
Copy link
Contributor

From what you posted above I think you are trying to install on:

  • macOS
  • x86_64 architecture
  • Python 3.13.x

Unfortunately this combination is not possible, because there is no torch version which supports Python 3.13 and mac intel.

If you install on Python 3.12 it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants