Lets try this
sudo apt-get install libjpeg libjpeg-dev sudo apt-get install libfreetype6 libfreetype6-dev
download jpeg source
tar -xzvf jpegsrc.v8c.tar.gz
cd jpeg-6b/
./configure
make
sudo make install
So download Python Imaging Library 1.1.7 Source Kit (all platforms)
The after run the setup.py install, check if the support was ok
-------------------------------------------------------------------- *** TKINTER support not available (Tcl/Tk 8.5 libraries needed) --- JPEG support available --- ZLIB (PNG/ZIP) support available *** FREETYPE2 support not available --- LITTLECMS support available --------------------------------------------------------------------
If not, in setup.py in PIL I had to change the path of :
JPEG_ROOT = None ZLIB_ROOT = None
to
JPEG_ROOT = libinclude("/usr/")
ZLIB_ROOT = libinclude("/usr/")
0 comentarios:
Publicar un comentario en la entrada