I was able to install ocrmypdf 5.4.x. But when I try to update or uninstall the old version and install the new one I always get following error message:
File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 667, in easy_install raise DistutilsError(msg) distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')
When I install the newest ocrmypdf via git and pip,
pip3 install git+https://github.com/jbarlow83/OCRmyPDF.git
it works.
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.