Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4782 > unrolled thread

Re: PIL: The _imaging C module is not installed

Started by"Michel Claveau - MVP"<enleverLesX_XXmcX@XmclavXeauX.com.invalid>
First post2011-05-06 01:45 +0200
Last post2011-05-05 21:52 -0400
Articles 5 — 4 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: PIL: The _imaging C module is not installed "Michel Claveau - MVP"<enleverLesX_XXmcX@XmclavXeauX.com.invalid> - 2011-05-06 01:45 +0200
    Re: PIL: The _imaging C module is not installed "Michel Claveau - MVP"<enleverLesX_XXmcX@XmclavXeauX.com.invalid> - 2011-05-06 01:48 +0200
      Re: PIL: The _imaging C module is not installed Christian Heimes <lists@cheimes.de> - 2011-05-06 12:16 +0200
      Re: PIL: The _imaging C module is not installed Wojtek Mamrak <tacyt1007@gmail.com> - 2011-05-06 14:52 +0200
    Re: PIL: The _imaging C module is not installed Albert Hopkins <marduk@letterboxes.org> - 2011-05-05 21:52 -0400

#4782 — Re: PIL: The _imaging C module is not installed

From"Michel Claveau - MVP"<enleverLesX_XXmcX@XmclavXeauX.com.invalid>
Date2011-05-06 01:45 +0200
SubjectRe: PIL: The _imaging C module is not installed
Message-ID<4dc3368d$0$30773$ba4acef3@reader.news.orange.fr>
Hi!

> you need to install the appropriate libraries, among which are:
> libjpeg-devel
> freetype-devel
> libpng-devel

OK, but where can I find it?  I want use PIL with Python under Windows,
and I can't compile C's sources.
Should I replace PIL by ImageMagick?

@-salutations
-- 
Michel Claveau 

[toc] | [next] | [standalone]


#4783

From"Michel Claveau - MVP"<enleverLesX_XXmcX@XmclavXeauX.com.invalid>
Date2011-05-06 01:48 +0200
Message-ID<4dc3375a$0$14665$ba4acef3@reader.news.orange.fr>
In reply to#4782
Re!

And why the problem no exist with PIL 1.1.6?  (only 1.1.7)
Is that the version 1.1.6 does not use these libraries?

@+
-- 
Michel Claveau 

[toc] | [prev] | [next] | [standalone]


#4811

FromChristian Heimes <lists@cheimes.de>
Date2011-05-06 12:16 +0200
Message-ID<mailman.1234.1304676988.9059.python-list@python.org>
In reply to#4783
Am 06.05.2011 01:48, schrieb Michel Claveau - MVP:
> Re!
> 
> And why the problem no exist with PIL 1.1.6?  (only 1.1.7)
> Is that the version 1.1.6 does not use these libraries?

PIL 1.1.6 also uses its internal C library to speed things up.

For Windows you should use the precompiled packages.
http://www.pythonware.com/products/pil/ offers X86 Windows binaries for
1.1.7. You might run into a problem with 1.1.7 Windows binaries. The
freetype C library references a debug CRT that is not available on all
machines. You can easily patch the _imagingft.pyd file with a hex editor.

Christian

[toc] | [prev] | [next] | [standalone]


#4825

FromWojtek Mamrak <tacyt1007@gmail.com>
Date2011-05-06 14:52 +0200
Message-ID<mailman.1244.1304686376.9059.python-list@python.org>
In reply to#4783
@Michel
use PIL downloaded from here: http://www.lfd.uci.edu/~gohlke/pythonlibs/

regards

2011/5/6 Christian Heimes <lists@cheimes.de>:
> Am 06.05.2011 01:48, schrieb Michel Claveau - MVP:
>> Re!
>>
>> And why the problem no exist with PIL 1.1.6?  (only 1.1.7)
>> Is that the version 1.1.6 does not use these libraries?
>
> PIL 1.1.6 also uses its internal C library to speed things up.
>
> For Windows you should use the precompiled packages.
> http://www.pythonware.com/products/pil/ offers X86 Windows binaries for
> 1.1.7. You might run into a problem with 1.1.7 Windows binaries. The
> freetype C library references a debug CRT that is not available on all
> machines. You can easily patch the _imagingft.pyd file with a hex editor.
>
> Christian
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

[toc] | [prev] | [next] | [standalone]


#4790

FromAlbert Hopkins <marduk@letterboxes.org>
Date2011-05-05 21:52 -0400
Message-ID<mailman.1215.1304646736.9059.python-list@python.org>
In reply to#4782
On Fri, 2011-05-06 at 01:45 +0200, Michel Claveau - MVP wrote:
> Hi!
> 
> > you need to install the appropriate libraries, among which are:
> > libjpeg-devel
> > freetype-devel
> > libpng-devel
> 
> OK, but where can I find it?  I want use PIL with Python under Windows,
> and I can't compile C's sources.
> Should I replace PIL by ImageMagick?

The OP was about CentOS.  I have no idea about Windows.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web