Doing other upgrades
When we upgrade to Python 3.4, we often need to upgrade the packages that we had previously been working with in the older versions of Python. We find that we often need to remind the field agents that software upgrades may be boring and mundane work; however, every mission is built on a foundation of software in order to process the intelligence data.
It's important to be sure that we can process graphics and images. That means we'll need a copy of Pillow, a project that maintains the Python Imaging Library.
Here's how this upgrade will look:
MacBookPro-SLott:doc slott$ pip3.4 install pillow Collecting pillow Downloading Pillow-2.9.0-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (2.9MB) 100% |████████████████████████████████| 2.9MB 178kB/s Installing collected packages: pillow Successfully installed pillow-2.9.0
This means that we can continue to process graphics successfully. For more information on Pillow, refer to Python for Secret Agents 1st Edition.
Also, refer to https://python-pillow.github.io and http://pillow.readthedocs.org.
We'll start using this package in Chapter 3, Following the Social Network.