First of all I did everything mentioned here pytesseract-no such file or directory error
Still doesn\'t work. Now I\'m using Pycharm IDE with following code:
<
I tested the code you mentioned in your question. It works fine. I was facing the same error
No such file or directory found
The problem was the directory containing 'tesseract.exe' was not added to the environment Variable. You should be able to run command 'tesseract' in command prompt.
if tesseract is not installed you can download it from tesseract 1: https://github.com/tesseract-ocr/tesseract/wiki and for windows use third party installer available here