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:
Try import PIL instead of from PIL import image.
import PIL
from PIL import image