How do I resolve a TesseractNotFoundError?

前端 未结 22 2176
情话喂你
情话喂你 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:49

    The following three commands will do the needful :

    sudo apt update
    # This will update your packages
    sudo apt install tesseract-ocr
    # This will install OCR
    sudo apt install libtesseract-dev
    # This will add it as development dependency
    

提交回复
热议问题