I faced the same problem in the past.
I hope you have properly installed it and have also done
pip install pytesseract.
If everything is correctly done then you should see that the path C:\Program Files (x86)\Tesseract-OCR where tesseract.exe is available.
Adding Path variable did not helped me So I added new variable with name tesseract in environment variables with a value of C:\Program Files (x86)\Tesseract-OCR\tesseract.exe.
Now typing tesseract in the command line should work by giving your usage informations. Now you can use pytesseract as such
Note : Please restart your python kernel before running this.
from PIL import Image
text = pytesseract.image_to_string(value, config='')
print("text present in images:",text)
Further Readings :