python -m pip install pillow code example
Example 1: python pil
from PIL import Image
img = Image.open("./my_image.png")
Example 2: python -m pip install Pillow
pip install Pillow
from PIL import Image
img = Image.open("./my_image.png")
pip install Pillow