天天看點

Mac安裝tesserocr出錯

已經安裝了tesseract以及其他一些包,但是pip install tesserocr還是出錯,找了很多原因。 最後回過頭來仔細讀了錯誤提示(大概是can't find the "cstdint",沒記錄),才恍然大悟! 解決方法:将tesseract裡面host.h檔案裡的include<cstdint>改為include<stdint.h>,順利解決。

繼續閱讀