ImportError(‘Could not import PIL.Image. ‘ working with keras-ternsorflow All you need to do is install pillow: pip install pillow Then you should be all set. Found this after hours of searching.