AWS EC2 machine giving "pytesseract.pytesseract.TesseractNotFoundError: tesseract not installed or it's not in your path"
you have to add tesseract installation folder to path too. if you have done that already, you might need to restart once or at least sign out and sign in. TESSDATA is the path you give for tesseract to access the language data.
I want to use tesseract-ocr on AWS EC2 machine using python.
I have install tesseract-ocr, pytesseract and set TESSDATA_PREFIX=/usr/local/share/tessdata... but still geting below error while calling image_to_string method of pytesseract.

pytesseract.pytesseract.TesseractNotFoundError: tesseract not
  installed or it's not in your path