docker 安装PIL python 报错 IOError: decoder zip not available

按照网上得方法:安装依赖库:
yum install freetype freetype-devel
yum install libjpeg libjpeg-devel
yum install zlib zlib-devel

然后卸载 PIL 再安装PIL ,擦,问题还在,折腾了两个多小时,瞎几把乱安装,终于在安装了pillow后,问题完美解决了

pip install pillow

原文地址:https://www.cnblogs.com/lfxiao/p/9597337.html