Deploying a Python Tesseract app on Render

I am using Flask, OpenCV and PyTesseract to deploy an OCR app on Render but when running the app I get an error saying

pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it’s not in your PATH. See README file for more information.

Is there a way to install the tesseract config file on the server ?

Hi there,

“Tesseract” is not installed on Render Native environments by default. You would either need to Dockerize your application to be able to set up the environment exactly how you want with the binaries you need.

Alternatively, you might be able to manually install it on a Native Environment as part of a build script, if you have prebuilt binaries to download (note, apt is not available on Native Environments)

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.