How to use pytesseract in replit?

Hi there, I had read a lot of things regarding how to use tesseract in replit but none of them managed to explain what’s going on with my replit. Note that I have did pip install pytesseract, I also have the tesseract executable file in my replit project!

But when I try to access it by like “tesseract” or “tesseract.exe” it doesn’t work.

Note: I used from pytesseract import pytesseract

But when I try to run it, I get the following error:

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

A response to this ASAP would be appreciated!

Welcome to Ask and sorry you have been so long without a response.

EXE files don’t work on Replit as it is Linux based. I’m not sure if the following post will help or not: