Can someone give a explanation and a solution to fix this issue? : In Jupyter Notebook I run this code without any errors. but in VScode there is an error ***"Unable to import 'PIL'pylint(import-error)"***. I've already install Pillow. But still, there is the error.


    import os
    from PIL import Image
    # open an image file (.bmp,.jpg,.png,.gif) you have in the working folder
    imageFile = "Cat.jpg"
    im1 = Image.open(imageFile)
    # adjust width and height to your needs
    width = 480
    height = 300
    # use one of these filter options to resize the image
    im2 = im1.resize((width, height), Image.NEAREST)      

    ext = ".jpg"
    im2.save("NEAREST" + ext)

    os.system("d:/python24/i_view32.exe %s" % "BILINEAR.jpg")