running build_ext -------------------------------------------------------------------- PIL 1.1.7 SETUP SUMMARY -------------------------------------------------------------------- version 1.1.7 platform linux2 2.7.8 (default, Sep 5 2014, 10:24:17) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] -------------------------------------------------------------------- *** TKINTER support not available --- JPEG support available --- ZLIB (PNG/ZIP) support available --- FREETYPE2 support available *** LITTLECMS support not available -------------------------------------------------------------------- To add a missing option, make sure you have the required library, and set the corresponding ROOT variable in the setup.py script.
To check the build, run the selftest.py script.
开始安装Image Library
1 2
$ python setup.py build $ python setup.py install
Python代码验证
1 2
$ python selftest.py *** The _imaging C module is not installed
ps: 运行python selftest.py提示The _imaging C module is not installed