How do I resolve a TesseractNotFoundError?

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

    I face this same issue. I just use this command that will help me.

    sudo apt install tesseract-ocr
    

    Note that this will only work on Ubuntu.
    sudo is a Unix exclusive command (Linux, Mac, Rasbian, etc.) while apt is Ubuntu specific.

提交回复
热议问题