FileNotFoundError: [WinError 2] The system cannot find the file specified.
During handling of the above exception, another exception occurred: pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your path.
我正在使用Pycharm社区并尝试安装OCR的tesseract。 我的代码如下:
^{pr2}$
是的,我只换了一行就把问题解决了。在
我们必须提供pytesseract exe的可执行路径
在pytesseract.pytesseract.tesseract_命令='C:\Program Files(x86)\t清除OCR\tesseract.exe文件'
代码如下:
相关问题 更多 >
编程相关推荐