close

Python中執行Pytesseract模組錯誤  - 錯誤訊息

  1. raise TesseractNotFoundError()
  2. pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your PATH. See README file for more information.
複製代碼

 

Python中執行Pytesseract模組錯誤
解決方法:
1. 到 Github 下載 tesseract-ocr-w64-setup-5.3.3.20231005.exe 來安裝Tesseract。

2. 記錄Tesseract安裝的路徑,預設路徑通常為 C:\Program Files\Tesseract-OCR。

3. 將Tesseract.exe路徑新增到環境變數中



文章出處: NetYea 網頁設計

arrow
arrow

    NetYea 網頁設計 發表在 痞客邦 留言(0) 人氣()