OCRmyPDF
OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:napobear/OCRmyPDF && cd $_ - Create Badge
Refresh
Source Files
| Filename | Size | Changed |
|---|---|---|
| OCRmyPDF.changes | 0000001120 1.09 KB | |
| OCRmyPDF.spec | 0000003467 3.39 KB | |
| _link | 0000000126 126 Bytes | |
| _service | 0000000281 281 Bytes |
Comments 1
Hi, I ran into a problem when trying out this package on Leap 15.2.
When I invoke ocrmypdf (as normal user of course) I get the following traceback:
ocrmypdf --version Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 578, in _build_master ws.require(__requires__) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 895, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 786, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (pikepdf 2.5.2 (/usr/lib64/python3.6/site-packages), Requirement.parse('pikepdf<2,>=1.14.0'), {'ocrmypdf'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/ocrmypdf", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3123, in <module> [@\_call\_aside](https://build.opensuse.org/users/_call_aside) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3107, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3136, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 580, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 593, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 781, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pikepdf<2,>=1.14.0' distribution was not found and is required by ocrmypdfI use the following version of python3-pikepdf:
Repository : Python Modules (openSUSE_Leap_15.2) Name : python3-pikepdf Version : 2.5.2-lp152.16.2 Arch : x86_64 Vendor : obs://build.opensuse.org/devel:languages:python Installed Size : 1.9 MiB Installed : Yes Status : up-to-date Source package : python-pikepdf-2.5.2-lp152.16.2.src Summary : Read and write PDFs with Python, powered by qpdf Description : Read and write PDFs with Python, powered by qpdf.Can you give me any advice?
Thanks a lot!