after install where are tesseract found code example
Example: pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your PATH. See README file for more information.
sudo apt update
sudo apt install tesseract-ocr
sudo apt install libtesseract-dev