You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ocrmypdf was working till recently. Now suddenly, I am seeing this error when trying to use it.
Where are you installing from?
PyPI (pip, poetry, pipx, etc.)
What operating system are you working on?
Windows
Relevant log output
C:\Users\User>ocrmypdf --version
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Program Files\Python312\Scripts\ocrmypdf.exe\__main__.py", line 4, in <module>
File "C:\Program Files\Python312\Lib\site-packages\ocrmypdf\__init__.py", line 10, in <module>
from ocrmypdf import helpers, hocrtransform, pdfa, pdfinfo
File "C:\Program Files\Python312\Lib\site-packages\ocrmypdf\pdfinfo\__init__.py", line 9, in <module>
from ocrmypdf.pdfinfo.info import Colorspace, Encoding, PageInfo, PdfInfo
File "C:\Program Files\Python312\Lib\site-packages\ocrmypdf\pdfinfo\info.py", line 43, in <module>
from ocrmypdf.pdfinfo.layout import LTStateAwareChar, get_page_analysis, get_text_boxes
File "C:\Program Files\Python312\Lib\site-packages\ocrmypdf\pdfinfo\layout.py", line 23, in <module>
from pdfminer.pdfdevice import PDFTextSeq
ImportError: cannot import name 'PDFTextSeq' from 'pdfminer.pdfdevice' (C:\Program Files\Python312\Lib\site-packages\pdfminer\pdfdevice.py)
The text was updated successfully, but these errors were encountered:
I am not sure whether there is something that needs to be done on your part (e.g., improving the error message, adding more checks in the dependencies, etc.).
What were you trying to do?
ocrmypdf was working till recently. Now suddenly, I am seeing this error when trying to use it.
Where are you installing from?
PyPI (pip, poetry, pipx, etc.)
What operating system are you working on?
Windows
Relevant log output
The text was updated successfully, but these errors were encountered: