踩了各種坑,最後這樣操作 成功
1.安裝Tesseract-OCR https://digi.bib.uni-mannheim.de/tesseract/
2.安裝 tesserocr whl 版 pip install tesserocr-2.4.0-cp37-cp37m-win_amd64.whl (記得加路徑)
https://github.com/simonflueckiger/tesserocr-windows_build/releases
3.pip install pytesseract
4. 修改 pytesseract 裏的路徑 按這兩個操作: