Does PIL work with Tk 8.5?

Kevin Walzer kw at codebykevin.com
Mon Jan 7 18:14:12 EST 2008


Martin v. Löwis wrote:

> OTOH, it's more likely that the PIL binaries you are using conflict with
> your Tk installation - if the binaries were for Tk 8.4 (which isn't
> quite clear to me whether that's indeed the case), then they can't work
> with Tk 8.5, as Tk doesn't provide that kind of binary compatibility.

Tk itself has a stubs mechanism that allows libraries compiled against 
earlier versions to be used with later versions. It's different than 
Python in this respect. A pure-Tk library (such as Img or TkPNG) built 
against Tk 8.4 would not require re-compilation to be used with 8.5. 
Since PIL is a Python library, however, you may be right.

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com



More information about the Python-list mailing list