woff 發表於 2023-11-10 17:43:41

Python中執行Pytesseract模組錯誤

Python中執行Pytesseract模組錯誤- 錯誤訊息
raise TesseractNotFoundError()
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 網頁設計
頁: [1]
查看完整版本: Python中執行Pytesseract模組錯誤