Kamoly Kamoly - 1 month ago 11
Python Question

Import Error: Pillow 3.3.1 & Python 2.7 & El Capitan OS

I have installed the Pillow package from PIP using

pip install Pillow
and Pillow 3.3.1 got installed. I am working with Python 2.7 on Mac OS 10.11 (El Capitan).

When I try to import the Image module, I run into
ImportError: No module named Pillow
. I tried to import the following:

  • import Pillow

  • import Image

  • import Pillow.Image

All return the same

What is missing?


Reinstall package properly using python -m pip install package_name

Then import using from PIL import Image.