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