How to solve this error

Hey @yashpundhir54, you need to install PIL library in your environment too. Use the following command to do so :

pip install pillow

or

pip3 install pillow 

I hope this helps ! :+1:
Happy Learning ! :slightly_smiling_face:

done that but still the same issue

Are you able to import PIL in your jupyter notebook without any error ?

yes installed,…

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.