Reputation: 31
import pytesseract
import PIL
from PIL import Image
pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe'
Im trying that code alone with many other ways to type the pile path as in double '\' etc but I still continue to get the error:
ModuleNotFoundError: No module named 'PIL'
Upvotes: 1
Views: 810
Reputation: 381
In shell, run:
pip install Pillow
The error means you are missing some modules.
Upvotes: 1