install PIL

Shell
pip install pillow# The new version of PIL is called Pillow, use that instead:
pip install pillow
Source

Also in Shell: