tesserocr icon indicating copy to clipboard operation
tesserocr copied to clipboard

error while importing "from tesserocr import pytessbaseAPI"

Open Yuhannakapali opened this issue 6 years ago • 1 comments

when I try to " from tesserocr import PyTessBaseAPI, RIL"

I receive an error saying ImportError: libtesseract.so.3: cannot open shared object file: No such file or directory

any help would be helpfull

Yuhannakapali avatar Jul 06 '19 22:07 Yuhannakapali

You have been building/installing tesserocr against an outdated libtesseract, which is not installed anymore/properly. It should pull in libtesseract.so.4 (stable) or libtesseract.so.5 (development). Try removing/uninstalling your libtesseract-dev (or do make uninstall in your Tesseract source tree), then installing it again.

bertsky avatar Dec 18 '19 02:12 bertsky