'How to solve Tesseract installation error?

I am trying to use this function: pytesseract.image_to_string(img) However the following error is appearing: enter image description here

I installed it :

enter image description here

I added it to the PATH in the environment variables:

enter image description here

And I downloaded pytesseract:

enter image description here

I configured it :

enter image description here

How can I solve this problem?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source