mittagessen / kraken

OCR engine for all the languages
http://kraken.re
Apache License 2.0
751 stars 131 forks source link

Kraken install post-July 20 2024 are all broken because of python-bidi #628

Closed PonteIneptique closed 4 months ago

PonteIneptique commented 4 months ago

The current install of kraken (4 or 5) depends on python-bidi with an relaxed dependancy (no pinned version)

Between 0.4.x and 0.5.x, python-bidi moved the get_display function from bidi.algorythm to bidi (basically root of the module) which breaks any fresh install of kraken.

Two options

  1. Move to 0.5.1, pin the dependency, and update the import within kraken
  2. Stay on 0.4.x and pin the dependency.