try pillow instead of pil