Solution to issue cannot be found in the documentation.
[X] I checked the documentation.
Issue
tesseract --list-langs does not list the installed models (languages and scripts), but runs in an endless recursion (unless TESSDATA_PREFIX is set in the environment) if it was installed with conda or miniconda.
Solution to issue cannot be found in the documentation.
Issue
tesseract --list-langs
does not list the installed models (languages and scripts), but runs in an endless recursion (unless TESSDATA_PREFIX is set in the environment) if it was installed with conda or miniconda.This is caused by the installation which modifies the installed files (see https://docs.conda.io/projects/conda-build/en/stable/resources/make-relocatable.html). While this works for C strings (
char *
), it fails for C++std::string
(see https://github.com/tesseract-ocr/tesseract/issues/4230).Can this be fixed on the Conda side? If not: how is this handled in other software which gets installed with Conda and which also uses
std::string
?Installed packages
Environment info