from pil import image error no module named pil code example Example: PIL module not detected pip install Pillow