You need to install a couple of pre built packages to allow PIL to
compile correctly.
Install python dev
$>sudo apt-get install python2.6-dev -y
Install JPEG Support for PIL first
$>sudo apt-get install libjpeg62 libjpeg62-dev zlib1g-dev libfreetype6
libfreetype6-dev -y
$>workon venv
(venv)$>
could you plz elaborate on wot u did to solve the problem,
even i want to add images on my admin page.
>
>
--
reeti
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To
Opps, Just solved my own question.
python-dev is required which I had installed.
I found a package called pillow which seems to take care of the issue
that I was having.
On Nov 22, 2:07 pm, Chris wrote:
> I am having an issue with uploading photos through the admin. I
I am having an issue with uploading photos through the admin. I get
this error: "Upload a valid image. The file you uploaded was either
not an image or a corrupted image." I am using ubuntu 10.04, python
26, virtualenv, and and pip. Is there a known issue with installng pil
through pip +
4 matches
Mail list logo