12 July 2013 · 1 minute read
You are using the Python Imaging Library (PIL), which uses libjpeg in your Django project on Red Hat Enterprise Linux (RHEL) and come across the following error in a terminal when trying to install stuff:
"The _imaging C module is not installed."
Or errors like the following in emails when your site breaks:
"TemplateSyntaxError: Couldn't get the thumbnail user_photo/something.jpg: The source file does not appear to be an image."
yum install python-devel
Set up deployment the Hynek Schlawack way.