Error : pytesseract.pytesseract.TesseractError: (127, 'tesseract: error while loading shared libraries: libarchive.so.13: cannot open shared object file: No such
My apt file looks like this :
libgl1 libsm6 libxrender1 libfontconfig1 libarchive-dev libtesseract-dev tesseract-ocr tesseract-ocr-eng
My requirements file has pytesseract mentioned.
I added a buildpack, set the TESSDATA_PREFIX config variable path.
The issue persists.
I have faced same issue recently. But i fixed by adding the following library in Aptfile
*libarchive13*and then redeployed my app and everything works fine...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With