Crossin的编程教室
标题:
辅助答题代码
[打印本页]
作者:
小白
时间:
2018-1-13 02:00
标题:
辅助答题代码
输入直播答题代码后提示错误信息:
Traceback (most recent call last): File "souti.py", line 26, in <module>
text=pytesseract.image_to_string(Image.open('haha.jpg'),lang='chi_sim')
File "D:\Python27\lib\site-packages\pytesseract\pytesseract.py", line 122, in image_to_string
config=config)
File "D:\Python27\lib\site-packages\pytesseract\pytesseract.py", line 46, in run_tesseract
proc = subprocess.Popen(command, stderr=subprocess.PIPE)
File "D:\Python27\lib\subprocess.py", line 390, in __init__
errread, errwrite)
File "D:\Python27\lib\subprocess.py", line 640, in _execute_child
startupinfo)
WindowsError: [Error 2]
求原因,谢谢
欢迎光临 Crossin的编程教室 (https://bbs.crossincode.com/)
Powered by Discuz! X2.5