1. 程式人生 > >報錯解決——pytesseract.pytesseract.TesseractError: (1,’Error opening data file /usr/local/share/tessdata/eng.traineddata’)

報錯解決——pytesseract.pytesseract.TesseractError: (1,’Error opening data file /usr/local/share/tessdata/eng.traineddata’)

target tac ssd 方法 question ack oca .gz sda

解決方法:(原文地址http://stackoverflow.com/questions/14800730/tesseract-running-error)

  1. $ wget https://tesseract-ocr.googlecode.com/files/eng.traineddata.gz
  2. $ gunzip eng.traineddata.gz
  3. $ sudo mv -v eng.traineddata /usr/local/share/tessdata/

報錯解決——pytesseract.pytesseract.TesseractError: (1,’Error opening data file /usr/local/share/tessdata/eng.traineddata’)