我已经下载了 PyTesser并解压了它。
我在pytesser_v0.0.1
文件夹中并尝试在 python 解释器中运行示例用法代码:
from pytesser import *
print image_file_to_string('fnord.tif')
和输出:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pytesser.py", line 44, in image_file_to_string
call_tesseract(filename, scratch_text_name_root)
File "pytesser.py", line 21, in call_tesseract
proc = subprocess.Popen(args)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
注意:我Ubuntu 12.10
同意Python 2.7.3
谁能帮我理解这个错误,我能做些什么来解决它?