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

Pip install docling on Fedora 41 blow up. #507

Closed
rhatdan opened this issue Dec 3, 2024 · 4 comments
Closed

Pip install docling on Fedora 41 blow up. #507

rhatdan opened this issue Dec 3, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@rhatdan
Copy link

rhatdan commented Dec 3, 2024

Bug

$ pip install docling |fpaste
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [4 lines of output]
      <string>:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      Building lxml version 4.9.4.
      Building without Cython.
      Error: Please make sure the libxml2 and libxslt development packages are installed.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Uploading (9.0KiB)...
https://paste.centos.org/view/cf3935ac

Steps to reproduce

pip install docling

Python version

Python 3.13.0

@rhatdan rhatdan added the bug Something isn't working label Dec 3, 2024
@rhatdan
Copy link
Author

rhatdan commented Dec 3, 2024

Ok If I install the devel packages it gets further, Is there a way to get the prebuild content rather then forcing me to install and build the package?

I am looking to import docling into github.com/containers/ramalama to allow it to preprocess documents to be used as RAG by models.

@rhatdan
Copy link
Author

rhatdan commented Dec 3, 2024

Gotten a bit further, but still blowing up

 $ pip install -U docling | fpaste
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.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Uploading (20.0KiB)...
https://paste.centos.org/view/e5b4caee

@rhatdan
Copy link
Author

rhatdan commented Dec 3, 2024

Ok I just installed it on Fedora 40 and it was successful.

So this is a 41 issue.

python 3.12.7

versus

Python 3.13.0

@cau-git
Copy link
Contributor

cau-git commented Dec 3, 2024

@rhatdan Python 3.13 is not yet supported by docling, there are dependencies not ready for it. See #136.

@cau-git cau-git closed this as completed Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants