Can PIL be installed under Cygwin?

Jason Tishler jason at tishler.net
Fri Mar 28 17:20:26 CET 2003


Andy,

On Fri, Mar 28, 2003 at 10:15:00AM -0500, Andy Chase wrote:
> I hope I'll be forgiven if I've overlooked something obvious!

Did you see the following?

    http://sources.redhat.com/ml/cygwin/2002-05/msg00582.html

> I have downloaded the PIL Windows binary for Python 2.2 and moved the 
> PIL directory and PIL.pth under /lib/python2.2/site-packages.  Because 
> the Cygwin Python installation doesn't include a DLLs directory, I 
> placed _imaging.pyd and _imagingtk.pyd into /lib/python2.2/lib-dynload, 
> which I have firmly established is on Python's path.

The above will *not* work.  You cannot use Win32 Python extensions with
Cygwin Python and vice versa.

Use the above URL (possibly modified to deal with the latest Cygwin
Tcl/Tk package) to build a Cygwin PIL.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6





More information about the Python-list mailing list