[Image-SIG] Re: problem building Imaging-1.1.4 (PIL)

Fredrik Lundh fredrik at pythonware.com
Fri Jun 13 23:36:45 EDT 2003

Philippe Regis-Guy Piot wrote:

>   When I try to build the PIL library everything
> goes well up to the point where I need to do a:
>       python setup.py build_ext -i
> it results in the error:
>     File "setup.py", line 193
>     for fw in 'Tcl', 'Tk'
> which I do not get (sorry I am a newcomer to python).

in 1.1.4, the setup.py script requires Python 2.1 or newer.

on some systems, "python" is an old version (usually 1.5.2),
and "python2" is 2.1 or later.  try running "python2 setup.py"

otherwise, you have to use the Makefile.pre.in build approach.
see the README file for details.


More information about the Image-SIG mailing list