在传递Django cms的配置之后,我得到以下错误。一些非python包似乎丢失了。在
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
从哪里以及如何安装这些软件包?在哪个目录下安装它们?Python根目录还是django cms virtualenv lib?在
假设您使用的是Ubuntu 14.04或更高版本,请运行
sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk
,然后在您的virtualenv中重新安装Pillow
(或重新创建virtualenv)。在相关问题 更多 >
编程相关推荐