我得到的错误是:File does not exist:['/usr/include/tesseract/capi.h', '/usr/local/include/tesseract/capi.h', '/opt/include/tesseract/capi.h', '/opt/local/include/tesseract/capi.h']
root@opencv:/home/philipp/python-tesseract#
在按顺序遵循其余指令后在/python-tesseract中运行python setup.py clean时。在
在此系统上运行linux 3.2.0-4-amd64。在
Whereis tesseract-ocr返回:
^{pr2}$
Whereis leptonica返回:/usr/include/leptonica
Whereis tesseract返回:tesseract: /usr/bin/tesseract /usr/bin/X11/tesseract /usr/include/tesseract/ /usr/share/man/man1/tesseract.1.gz
我还尝试过运行其他一些教程/指南来安装python tesseract,但这些教程/指南返回了其他错误,例如缺少libleptonica,然后丢失了libc6,但我没有对这些进行过多的研究。只是想看看有没有其他的向导能马上起作用。
另外,当我在终端中运行tesseract时,它可以工作,但是import tesseract不起作用。在
我做错什么了?如何修复此问题并安装python tesseract?在