PIL: selftest fails, but does the package show the status in order?

I have PIL installed with the necessary libraries (so I think). During installation, it shows

*** TKINTER support not available
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
--- FREETYPE2 support available
--- LITTLECMS support available

However, when I run selftest.py, I get the following:

*** PIL CORE support not installed
*** TKINTER support not installed
--- JPEG support ok
--- ZLIB (PNG/ZIP) support ok
*** FREETYPE2 support not installed
*** LITTLECMS support not installed

i.e. it does not detect PIL CORE, FREETYPE2 and LITTLECMS.

I installed the following packages on CentOS 6.0 using python 2.6.5

libjpeg libjpeg-devel zlib zlib-devel freetype freetype-devel lcms lcms-devel

PIL was installed with pip install PIL . However, the self-test was run from the source code from the official PIL website.

Any ideas?

+5
source share
1 answer

Try creating C extensions in the source directory setup.py build_ext -ibefore running selftest.pyor Tests\run.py.

+5
source

All Articles