tesseract not in program files (x86)/tesseract-ocr/tesseract' 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