2011-10-24 4 views
5

Tengo el PIL instalado con las bibliotecas necesarias (eso creo). Durante la instalación se muestraPIL: la autoprueba falla, pero el paquete muestra que el estado es correcto.

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

Sin embargo, cuando corro selftest.py, me sale esto:

*** 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 

es decir, que no está detectando PIL CORE, freetype2 y LittleCMS.

Me instalados los siguientes paquetes en CentOS 6.0 usando Python 2.6.5

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

PIL se instaló con PIP instalar PIL. Sin embargo, la autoprueba se ejecutó desde un código fuente del sitio web oficial de PIL.

¿Alguna idea?

+0

Uhh si no me equivoco CentOS se envía con python 2.4, querría comprobar si la autoprueba se ejecutó desde el intérprete correcto –

+1

Intente crear las extensiones C in situ en el directorio de origen con 'setup.py build_ext -i' antes de ejecutar 'selftest.py' o' Tests \ run.py' – cgohlke

+0

@ArgsKwargs: CentOS 6.0 viene con Python 2.6.5: http://distrowatch.com/table.php?distribution=centos Gracias por la cabecera. – noobzie

Respuesta

5

Intente crear las extensiones C in-place en el directorio de origen con setup.py build_ext -i antes de ejecutar selftest.py o Tests\run.py.

Cuestiones relacionadas