Python-list Digest, Vol 92, Issue 40
Nico Grubert
nicogrubert at yahoo.de
Fri May 6 02:55:32 EDT 2011
> PIL will compile and install if you don't have some development
> libraries and then simply not work or not work up to full steam when
> used.
>
> To avoid this, you need to install the appropriate libraries, among
> which are:
>
> libjpeg-devel
> freetype-devel
> libpng-devel
Dear Albert
Thank you for your reply.
I did install all these libraries.
Testing it with yum shows:
$ yum install libpng-devel
Package 2:libpng-devel-1.2.10-7.1.el5_5.3.x86_64 already installed and
latest version
Package 2:libpng-devel-1.2.10-7.1.el5_5.3.i386 already installed and
latest version
$ yum install libjpeg-devel
Package libjpeg-devel-6b-37.x86_64 already installed and latest version
Package libjpeg-devel-6b-37.i386 already installed and latest version
$ yum install libpng-devel
Package 2:libpng-devel-1.2.10-7.1.el5_5.3.x86_64 already installed and
latest version
Package 2:libpng-devel-1.2.10-7.1.el5_5.3.i386 already installed and
latest version
Re-Compiling PIL shows:
$ python setup.py build_ext -i
--------------------------------------------------------------------
*** TKINTER support not available
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
--- FREETYPE2 support available
*** LITTLECMS support not available
--------------------------------------------------------------------
However, running the selftest still fails:
$ python selftest.py
*** The _imaging C module is not installed
Regards
Nico
More information about the Python-list
mailing list