TesseractNotFoundError: tesseract is not installed or it's not in your PATH. See README file for more information. site:stackoverflow.com code example
Example 1: pytesseract tesseract is not installed
pytesseract.pytesseract.tesseract_cmd = r'C:\Users\USER\AppData\Local\Tesseract-OCR\tesseract.exe'
Example 2: 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