To Fix ImportError: No module named PIL Error just Install pillow. To solve this issue you have to just run the below command in the shell pip install Pillow