0
votes

I get the following error after passing the configuration of Django-cms. A couple of non-python packages seem to be missing.

EnvironmentError: Pillow is not compiled with PNG support, see 'Libraries installation issues' documentation section: http://djangocms-installer.readthedocs.org/en/latest/libraries.html.
Pillow is not compiled with JPEG support, see 'Libraries installation issues' documentation section: http://djangocms-installer.readthedocs.org/en/latest/libraries.html

From where and how do I install these packages? And in which directory do I install them? The Python root directory or the django-cms virtualenv lib?

1
What operating system (and version thereof) are you using? The error is because you're missing some (non-Python) libraries on your system. How to install them varies widely between operating systems. - ojii

1 Answers

1
votes

Assuming you're on Ubuntu 14.04 or later, run sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk, then re-install Pillow in your virtualenv (or re-create the virtualenv).