При установке django-cms 3.0 возникла проблема при компиляции Pillow с поддержкой JPEG:
1 2 3 |
$ djangocms -p src/ app ... EnvironmentError: Pillow is not compiled with JPEG support, see 'Libraries installation issues' documentation section. |
Решение проблемы в Ubuntu:
1 2 3 4 5 6 7 8 9 10 |
$ sudo apt-get install libjpeg-dev libfreetype6-dev zlib1g-dev # Link the libraries for Pillow to find them: $ sudo ln -s /usr/lib/`uname -i`-linux-gnu/libfreetype.so /usr/lib/ $ sudo ln -s /usr/lib/`uname -i`-linux-gnu/libjpeg.so /usr/lib/ $ sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so /usr/lib/ # reinstall Pillow (In case you have Pillow already installed) $ pip install --upgrade --force-reinstall pillow |
Источник Stack Ovewflow