Is it safe to install the PIL library on my laptop?

218 views
Skip to first unread message

claude....@gmail.com

unread,
Feb 5, 2015, 12:38:41 PM2/5/15
to pylear...@googlegroups.com
I'm getting representation / feature learning and Pylearn2 a try on a OS X laptop.

Doing the Quick-start example, I've got that error:

RuntimeError: You are trying to use PIL-dependent functionality but don't have PIL installed.

Then, I've installed PIL using sudo pip install pil

Then I've got the message:

« Some insecure and unverifiable files were ignored (use --allow-unverified pil to allow). »

Finally it was working using

sudo pip install pil --allow-external pil --allow-unverified pil

Then I succeed to get the cute color image but I uninstall the PIL library afraid of my previous install.

Was it safe to install the PIL library on my laptop?

Thanks

Eder Santana

unread,
Feb 7, 2015, 1:21:44 PM2/7/15
to pylear...@googlegroups.com
For images, I usually use Pillow (Pillow is the ‘friendly’ PIL https://github.com/python-pillow/Pillow)
with pip install pillow
I never got any problem like the one you mentioned.

Regarding the safety of PIL and what are those unverified files, you will probably get better answers at their mailing list:
Which is mentioned in this site -> http://www.pythonware.com/products/pil/

Claude Coulombe

unread,
Feb 10, 2015, 10:52:42 PM2/10/15
to pylear...@googlegroups.com
@Eder Santana

Pillow is working perfectly without any warning about unverified files.

You're right! Pillow is the friendly PIL

Thanks a lot!
Reply all
Reply to author
Forward
0 new messages