PIL.Image is not a type