I have started any coding for example: from PIL import Image, I encountered such an error:
from PIL import Image
Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> from PIL import Image ModuleNotFoundError: No module named 'PIL'
I will be pleased that guide me.
In shell, run:
pip install Pillow
PIL is deprecated - Pillow is its replacement
1.4m articles
1.4m replys
5 comments
57.0k users