Forums

I can't import from PIL import Image as PImage why?

I'm been doing this app called Photo Organizer and Sharing App Part I at http://lightbird.net/dbe/photo.html and when I try too import from PIL import Image as PImage . Their an error that say ImportError: No module named PIL . I have python version 2.6 and using Django-1.4.3 . Can someone help me ? Than you

Hmm, are you using a virtualenv?

I just tried

from PIL import Image as PImage

In a regular Python 2.6 console and it worked.

ok it solved :]