天天看点

Mac安装tesserocr出错

已经安装了tesseract以及其他一些包,但是pip install tesserocr还是出错,找了很多原因。 最后回过头来仔细读了错误提示(大概是can't find the "cstdint",没记录),才恍然大悟! 解决方法:将tesseract里面host.h文件里的include<cstdint>改为include<stdint.h>,顺利解决。

继续阅读