I'm attempting to install the PIL library in an Virtual Enviroment that I have created.
Usually to install PIL I'd grab the install, however this won't allow me to choose my virtualenv only my root Python folder (C:/Python26).
I tried both pip install PIL and easy_install PIP but they didn't work. I've also tried downloading the TAR, extracting and running setup.py install
Django is still rejecting my model which contains an ImageField(). Does anyone have a solution?
An error which commonly occurs is below:
Unable to find vcvarsall.bat
Edit:
OK I tried a fresh virtualenv and used easy_install which isn't showing the compile error.
I then open a Python shell and it allowed me to import PIL
and import _imaging
, however when I try to use the ImageField()
in django my models still won't validate.