Monday, November 29, 2010

Re: Issue uploading photos through the admin. PIL issue.

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)$> pip install PIL


-Sid
sidmitra.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment