- 帖子
- 1
- 精华
- 0
- 积分
- 5
- 阅读权限
- 10
- 注册时间
- 2018-1-13
- 最后登录
- 2018-1-13
|
输入直播答题代码后提示错误信息:
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]
求原因,谢谢
|
|