我正在尝试使用sorl thumbnail,但出现了“decoder zip not available”的错误。
我已经阅读了大量类似的页面,说这是一个PIL / Pilow问题。
我尝试通过重新安装pil来解决:
我已经阅读了大量类似的页面,说这是一个PIL / Pilow问题。
我尝试通过重新安装pil来解决:
easy_install http://dist.plone.org/thirdparty/PIL-1.1.7.tar.gz
以及:
pip uninstall PIL Pillow
pip install Pillow
pip install PIL
我了解到Ubuntu在x64架构中使用名为/lib/x86_64-linux-gnu的目录。如果您使用该架构,您需要为该目录以及其他共享库创建符号链接。
$ sudo ln -s /lib/x86_64-linux-gnu/libz.so.1 /lib/libz.so
附加信息:
操作系统:Ubuntu Precice
我尚未尝试从源代码安装zlib软件包,其他一些人也提到这对他们有效。