I am doing a deep learning course on udacity. For the first assignment whenI tried to run the script which is below the problem 1 , I got this error. So I tried to uninstall
pip install pillow
Then replace from IPython.display import display, Image with from IPython.display import display from PIL import Image
from IPython.display import display, Image
from IPython.display import display
from PIL import Image