How to Solve NameError: name 'Image' is not defined -- IPython
Solution: Import the 'Image' module
To Solve the error, add the following line to the top of your code.
from IPython.display import Image
For more information:
Python IPython Image