pip install PIL The _imagingft C module is not installed

需要先删除PIL再进行安装

sudo pip uninstall -y PIL

删除PIL相关文件夹:/usr/local/bin/pil , usr/lib/python2.7/dist-packages/PIL , /usr/share/pyshared/PIL

apt-get install libfreetype6-dev

pip install PIL

posted @ 2019-04-13 17:55  琵琶真的行  阅读(233)  评论(0编辑  收藏  举报