'how to use tesseract on linux (replit)?

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

this is the error I get. the code was working on windows (vs code) but when I published it on Replit.com it gave me this error, I don't know what to do.

I am bad in Linux so I don't know where is the PATH location.

I searched everywhere in google and didn't find anything.

PLS HELP!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source