TShopping

標題: Python中執行Pytesseract模組錯誤 [打印本頁]

作者: woff    時間: 2023-11-10 17:43
標題: Python中執行Pytesseract模組錯誤
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.
複製代碼




解決方法:
1. 到 Github 下載 tesseract-ocr-w64-setup-5.3.3.20231005.exe 來安裝Tesseract。

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

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



文章出處: NetYea 網頁設計





歡迎光臨 TShopping (http://www.tshopping.com.tw/) Powered by Discuz! X3.2