from PIL import Image ModuleNotFoundError: No module named ‘PIL’

QuestionsCategory: Djangofrom PIL import Image ModuleNotFoundError: No module named ‘PIL’
Rishab Staff asked 1 month ago

from PIL import Image

ModuleNotFoundError: No module named ‘PIL’

1 Answers
devchandan Staff answered 1 month ago

Now, PIL is deprecated, and pillow is the successor.
Run the below command.Hope this will fix your problem.
 

pip install Pillow