Personally I'd highly recommend Pillow. I got endless import errors when I used the "apt-get install python-imaging" method of installing PIL. I'd fix one import error and have to deal with the next.
I finally switched to Pillow and all my issues went away. Note that I installed Pillow via Pip: # a couple of dependencies first apt-get -y install libfreetype6-dev # need this first or get libfreetype errors apt-get -y install libjpeg-dev # install Pillow through pip pip install pillow I've found the best way to install pip is: wget https://bootstrap.pypa.io/get-pip.py sudo python get-pip.py On Tuesday, March 7, 2017 at 3:31:54 PM UTC-8, Tom Keffer wrote: > > It's not something you generally need to be concerned about. Pillow is a > maintained fork of PIL, which was abandoned years ago. For example, it > works under Python 3, and can be installed using pip (instead of from > source). > > Same code base, just maintained. > > -tk > > On Tue, Mar 7, 2017 at 3:19 PM, Joe Percival <[email protected] > <javascript:>> wrote: > >> I followed the setup.py installation instructions. >> One of those instructions is to execute: >> sudo apt-get install python-imaging >> >> From what I have read, under Ubuntu, this may install Pillow instead of >> the older PIL, and I have seen suggestions that this may result in the need >> to install more support packages to handle different image formats. >> >> Is this "old news" that I don't need to be concerned about or ??? >> >> FYI, not only will I be generating Weewx graphics, but I will also be >> "doctoring" images downloaded from some webcams. >> >> Thanks, >> joe >> >> -- >> You received this message because you are subscribed to the Google Groups >> "weewx-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
