Works for me (OS X Yosemite - Python ): xcode-select --install sudo pip install pillow. Try this to check it: from PIL import Image. In the past I've used homebrew and MacPorts to install stuff like PIL or other Python libraries on OS X, but really it's much simpler. And Apple. This is because PIL is not setuptools compatible (kid-kon.com /image-sig/August/html) and has as such.
What is PIL/Pillow? PIL (Python Imaging Library) adds many image processing features to Python. Pillow is a fork of PIL that adds some user-friendly features. Download and install PIL. curl -O -L kid-kon.com gz. tar -xzf kid-kon.com cd Imaging python kid-kon.com build. To install on a Mac OS X system, visit kid-kon.com and download the kid-kon.com file and install as any other application.
PIL and Pillow currently cannot co-exist in the same environment. If you want to use Or easy_install (for installing Python Eggs, as pip does not support them). operating system package manager. On OSX you can use macports. Make sure that you don't have PIL without libjpeg support in your system-wide Python. Python Imaging Library (abbreviated as PIL) is a free library for the Python programming language that adds support for opening, manipulating, and saving many different image file formats. It is available for Windows, Mac OS X and Linux . PIL or Python Imaging Library is a library that allows you to manipulate on Mac OS X, you can install it easily with the following command.