From: Todd M. <jm...@st...> - 2004-08-11 13:58:06
|
On Wed, 2004-08-11 at 09:07, John Hunter wrote: > >>>>> "Gary" == Gary Strangman <st...@nm...> writes: > > > Gary> I recently found matplotlib and think it's _exactly_ what > Gary> the python environment needs from the scientific perspective > Gary> ... interactive plotting as good as (or better than) > Gary> Matlab's, that also makes it easy for Matlab users to be > Gary> converted. ;-) I'm very impressed in the > Gary> effort-to-date. Unfortunately, other software I use forces > Gary> me to stay with python2.2, and I'm having tremendous trouble > Gary> building matplotlib for win32. Might someone have a pointer > Gary> to a self-installing executable for matplotlib compiled > Gary> against python2.2 that is a more recent version than > Gary> v0.54.1?? > > Gary> Thanks! And cheers to all the developers of this package. > > Hi Gary - thanks for the kind words (and thanks for the stats module > as well, which I've been using intermittently for years). > > There is a bug in the _tkagg extension in the python2.2 build which > has never been tracked down and fixed, which is why we stopped > releasing it. You get a missing DLL error when you try and load it. > I opened _tkagg.pyd in dependency walker, and the DLL is one of the > Visual Studio .NET dlls - though sometimes dependency walker fives > false alarms. > > As I write this, it occurs to me the problem that arose in 2.2 may > have been coincident in my changing build environments (I don't know > if Todd experienced a similar problem with his numarray builds with > tkagg and python2.2, but I think he may have ...). This may be more FUD than fact but... my recollection of this is that different versions of Tcl/Tk are used between Python-2.2 and Python-2.3, I believe 8.3 and 8.4 respectively. Our process for creating the windows binaries for maplotlib requires a copy of the Tcl/Tk headers. The last time I tried to make a 2.2 version of matplotlib, I was able to get matplotlib to compile and link using different Tcl/Tk headers (8.3), and matplotlib imported successfully, but it was unstable. So, my impression is that the problem boils down to getting Python-2.2 specific support for Tcl/Tk into win32_static. Regards, Todd |