Pytesseract error while deployment

hello, I’m receiving this error while I’m trying to use py-tesseract:-

pytesseract.pytesseract.TesseractNotFoundError: C:\Program Files\Tesseract-OCR\tesseract.exe is not installed or it’s not in your PATH. See README file for more information.

any ideas?

GitHub repo: https://github.com/MarwanAshraf22/Electro-Pi/tree/main/National_Id

IIRC using pytesseract requires the tesseract engine installed on your system. Follow this guide to set it up - Home · UB-Mannheim/tesseract Wiki · GitHub

1 Like

Hi @Marwan_Ashraf, and welcome to our community! :raised_hands:

The installation instructions for pytesseract say that Google’s tesseract-ocr is a dependency.

It may be useful to get a full error log trace on your issue, but it’s likely you would need to install tesseract-ocr as an apt-get dependency (for Linux applications outside the Python environment).

Have a look a this step-by-step explanation by Snehan to deploy it on our Community Cloud service.

Let me know if questions.

Best,
Charly

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