lincolnloop/python-qrcode — Issue #2: import PIL
Author: serbaut
Created: 2011-11-22 21:00:51+00:00
State: open

Until PIL 1.2 you have to import PIL with

try:
from PIL import Image
except ImportError:
import Image

See http://stackoverflow.com/questions/7133193/what-is-going-on-with-pil-and-the-import-statement