![]() This is what worked for me, if there are other ways you would prefer of uninstalling PIL, please use them. Sudo rm -rf /usr/lib/python2.7/site-packages/PIL sudo rm ~/Imaging-1.1.7 Here’s a step-by-step explanation of how I resolved the issue. I’d suggest any PIL user to do that, after all how are you going to escape. Img_filename = ‘some_filepath_here’ im = Image.open(img_filename) im.show()Īnd much to my dismay, it didn’t run, giving me an IOError.īasically what this meant was t hat PIL natively supports png but on a Mac atleast, you need to separately install a module for handling. ![]() Import sys from PIL import Image PIL_Version = Image.VERSION ![]() So today I tried to download and start playing around with the Python Imaging Library, and I realized that it’s not as easy as downloading it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |