Tesseract is not installed or it's not in my PATH

Hi @guilhermedonizetti, welcome to the Streamlit community!! :wave: :partying_face:

The installation instructions for pytesseract say that Google’s tesseract-ocr is a dependency. Meaning, you need to install tesseract-ocr as an apt-get dependency (for Linux applications outside the Python environment).

The way to do that is to include the necessary dependencies in a packages.txt file in your repo:

  1. Create a new packages.txt file with the following lines:

  2. The first line installs the base tesseract-ocr application and supports only English by default. To support Portuguese, you need to install a language specific tesseract data file, which we do in the second line.

  3. Reboot your app

Once you make the above changes, your app should successfully deploy! :tada:

Happy Streamlit’ing! :balloon: