from PIL import Image
img=Image.open('abcd.jpg')
img.show()
print("Image opened Successfullly:",img.format, img.size, img.mode)
PIL not found !! issue solved. Perform the following below instruction in command prompt. THIS IS ABOUT WINDOWS-11
python3
(// to know the version of python installed ; this is to be checked in Command Prompt)
pip install Pillow
try:
pip uninstall PIL
pip install image
//Below workedÂ
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade Pillow