How do I get the Pillow module to work in Python 2?

I am using a Mac with Yosemite.

"from PIL import Image" works in my terminal, but it doesn't work in Sublime. When I run it in sublime I get "ImportError: No module named PIL"

"Import Image" doesn't work either. I really want this to work with sublime, but I'm not even sure if this is an issue with the editor, even if it works in the terminal.

+3


source to share





All Articles