unbuntu python2.7安装不了PIL

sudo python -m pip install PIL

报错说找不到PIL这个库

原来这个和pip一样是要通过apt安装的

sudo apt-get install python-imaging

才发现这个问题我之前也写过

https://www.cnblogs.com/mangmangbiluo/p/9917907.html

当时说了要用源码安装,竟然又踩坑了

原文地址:https://www.cnblogs.com/mangmangbiluo/p/10921017.html