Cannot start OCRFeeder

I have just installed OCRFeeder with all of its optional dependencies.

When I try to run it, I get these errors:

$ ocrfeeder
Traceback (most recent call last):
  File "/usr/bin/ocrfeeder", line 31, in <module>
    from ocrfeeder.studio.studioBuilder import Studio
  File "/usr/lib/python3.9/site-packages/ocrfeeder/studio/studioBuilder.py", line 24, in <module>
    from ocrfeeder.util import lib
  File "/usr/lib/python3.9/site-packages/ocrfeeder/util/lib.py", line 28, in <module>
    import sane
  File "/usr/lib/python3.9/site-packages/sane.py", line 11, in <module>
    import _sane
ModuleNotFoundError: No module named '_sane'

I have tried pip install sane or pip install _sane but the output is

ERROR: Could not find a version that satisfies the requirement sane (from versions: none)
ERROR: No matching distribution found for sane

What can I do to make it work?

I encountered the same problem, after installing from the official repositories (community).
Due to lack of time, I removed the package an tried to install via Flatpak.
This worked fine for me, and ocrfeeder starts without any eror messages.

1 Like