How do I resolve a TesseractNotFoundError?

前端 未结 22 2112
情话喂你
情话喂你 2020-11-28 05:14

I am trying to use pytesseract in Python but I always end up with the following error:

    raise TesseractNotFoundError()
pytesseract.pytesseract.TesseractNo         


        
22条回答
  •  难免孤独
    2020-11-28 05:50

    You are probably missing tesseract-ocr from your machine. Check the installation instructions here: https://github.com/tesseract-ocr/tesseract/wiki

    On a Mac, you can just install using homebrew:

    brew install tesseract

    It should run fine after that

提交回复
热议问题