Last line of the error message is
pkg_resources.DistributionNotFound: The 'pdfminer.six<=20200402,>=20181108' distribution was not found and is required by ocrmypdf
That's from the python-pdfminer
package, which is in the dependencies, it's just that the current version is python-pdfminer-20200517-1
and ocrmypdf
apparently needs an earlier version.
It seems this has happened before: https://github.com/jbarlow83/OCRmyPDF/issues/457
I added a new issue: https://github.com/jbarlow83/OCRmyPDF/issues/566
Pinned Comments
fbrennan commented on 2023-05-12 22:54 (UTC)
The flag was invalid and has been removed with no action taken as no new version was released. There's nothing to do for this package; no new release has been made. Rebuild, as @eclairevoyant has said.