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

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

posted @ 2019-05-25 01:01  茫茫碧落  阅读(324)  评论(0编辑  收藏  举报