解决Ubuntu中PIL模块The _imaging C module is not install报错
第一种办法
在安装PIL模块时我直接使用sudo pip install PIL安装,导致出现The _imaging C module is not install报错.
网上查询资料后,某些博客说是缺少freetype等库,按照博客所说的指令安装,发现无法定位该软件.因此该方法没能解决我的问题.
第二种办法
直接使用网上已编译过的PIL,下载网址:https://download.csdn.net/download/qq_38038143/10392899
安装命令:
pip install PIL-2.0+dummy-py2.py3-none-any.whl
测试: