title: Where is the tesseract executable file located on MacOS, and how to define it in Python?
body: <p>I have made a code using pytesseract and whenever I run it, I get this error:</p>
  
  <p><code>TesseractNotFoundError: tesseract is not installed or it's not in your path</code></p>
  
  <p>I have installed tesseract using HomeBrew and also <code>pip</code> installed it. </p>