ImportError: Could not import PIL.Image. The use of `load_img` requires PIL. code example Example: ImportError: Could not import PIL.Image. The use of `load_img` requires PIL. pip install pillow