PIL: module object has no attribute 'resize' PIL: module object has no attribute 'resize' powershell powershell

PIL: module object has no attribute 'resize'


[Putting the answer as an answer :)]

Call the resize method on the variable instead. So im.resize() gets the job done instead of Image.resize().