pd3f / pd3f-core

📑 Python Package to reconstruct the original continuous text from PDFs with language models
https://pd3f.github.io/pd3f-core/index.html
GNU Affero General Public License v3.0
33 stars 8 forks source link

Iterable import is deprecated #41

Open flatypus opened 1 year ago

flatypus commented 1 year ago

Since python 3.10, the Iterable class should be imported from collections.abc instead. I mentioned this in https://github.com/pd3f/pd3f-core/pull/40, but since the maintainer has not seen the PR, if anyone comes across this repository in the future, there is the fix, or you can include pd3f @ git+https://github.com/flatypus/pd3f-core@1a546388f6cc4e81c359678f54f1b3547125a015 in the requirements.txt instead.

stackoverflow.com/questions/72032032/importerror-cannot-import-name-iterable-from-collections-in-python