Traceback(mostrecentcalllast):File"C:\Users\Administrator\Desktop\12312.py",line4,inn=image_to_string(Image.open('b1.jpg'),lang="eng",config="-psm7")File"C:\Pytho...
Traceback (most recent call last): File "C:\Users\Administrator\Desktop\12312.py", line 4, in n = image_to_string(Image.open('b1.jpg'),lang="eng",config="-psm 7") File "C:\Python34\lib\site-packages\pytesseract-0.1.6-py3.4.egg\pytesseract\pytesseract.py", line 161, in image_to_string config=config) File "C:\Python34\lib\site-packages\pytesseract-0.1.6-py3.4.egg\pytesseract\pytesseract.py", line 94, in run_tesseract stderr=subprocess.PIPE) File "C:\Python34\lib\subprocess.py", line 858, in __init__ restore_signals, start_new_session) File "C:\Python34\lib\subprocess.py", line 1111, in _execute_child startupinfo)FileNotFoundError: [WinError 2] 系统找不到指定的文件。
运行环境:python3.4
from pytesser import *
会有问题
展开