Skip to content Skip to sidebar Skip to footer

Python Pillow Module Not Importing Properly

I'm using the Python pillow module, but every time I try to import it and use a function, it gives me an error. Here is some code to reproduce the error. import PIL PIL.ImageGrab.

Solution 1:

You have to use from to import from PIL.

from PIL import ImageGrab

ImageGrab.grab()

Post a Comment for "Python Pillow Module Not Importing Properly"