Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- runfile('C:/Users/USharma/.spyder2/temp.py', wdir='C:/Users/USharma/.spyder2')
- Traceback (most recent call last):
- File "<ipython-input-1-428ef9172069>", line 1, in <module>
- runfile('C:/Users/USharma/.spyder2/temp.py', wdir='C:/Users/USharma/.spyder2')
- File "C:\Users\USharma\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 714, in runfile
- execfile(filename, namespace)
- File "C:\Users\USharma\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 74, in execfile
- exec(compile(scripttext, filename, 'exec'), glob, loc)
- File "C:/Users/USharma/.spyder2/temp.py", line 22, in <module>
- solution = solve("E:/captcha1.png")
- File "C:/Users/USharma/.spyder2/temp.py", line 12, in solve
- pytesseract.image_to_string(Image.open(captcha))
- File "C:\Python27\Scripts\pytesseract.py", line 161, in image_to_string
- config=config)
- File "C:\Python27\Scripts\pytesseract.py", line 94, in run_tesseract
- stderr=subprocess.PIPE)
- File "C:\Users\USharma\Anaconda2\lib\subprocess.py", line 711, in __init__
- errread, errwrite)
- File "C:\Users\USharma\Anaconda2\lib\subprocess.py", line 959, in _execute_child
- startupinfo)
- WindowsError: [Error 2] The system cannot find the file specified
Add Comment
Please, Sign In to add comment