The single line that I am trying to run is the following:
from PIL import Image
However simple this may seem, it gives an error:
If you use Anaconda, you may try:
Anaconda
conda install Pillow
Example