MatPlotLib + Py2exe, backend problems ...

With Stef's help, I was able to get pass the
"Matplotlib datafile not found" problem in using
py2exe and Matplotlib under Python 2.3 - but then ran
into the same Tkinter not loaded problem like he did.

After reading Stef's messages from this list, I
downloaded the latest version of Matplotlib - only to
find that Python 2.3 is no longer supported. So, I
loaded up Python 2.5 and ran the setup script for
Py2exe. Now, py2exe is unable to find
wxmsw26uh_vc.dll - eventhough I have wxPython 2.8
installed. So, I dug up a copy of wxPython 2.6 and
have that installed. The file is now there but py2exe
still can't find it.

This is very fustrating!

Date: Mon, 18 Feb 2008 21:09:07 -0600
From: "John Hunter" <jdh2358@...287...>
Subject: Re: [Matplotlib-users] [wxPython-users] Re:

MatPlotLib +

  Py2exe, backend problems ...
To: "Stef Mientki" <s.mientki@...1882...>
Cc: matplotlib-users@lists.sourceforge.net
Message-ID:

<88e473830802181909u467e6c2m4c65171ef2170a58@...288...>

Content-Type: text/plain; charset=ISO-8859-1

> What is setup.cfg, where can I find it and where

can I get

information
> about it ?

Let's keep this on matplotlib-users so we don't

annoy the

good folks at the wxpython and distutils lists...

setup.cfg is a build/configure file that ships w/

matplotlib

in recent versions (0.91.x). If it is not in your

source

distribution, let us know which distro you are

using, where

you got it from, what you have already, etc....

Among other

things, it lets you conditionally turn of/off builds

of

ยทยทยท

On Feb 18, 2008 1:11 PM, Stef Mientki <s.mientki@...1882...> wrote:
certain GUI backends and other optional features.

JDH

------------------------------

--
John Henry

hi John,

kc106_2005-matplotlib@...9... wrote:

With Stef's help, I was able to get pass the
"Matplotlib datafile not found" problem in using
py2exe and Matplotlib under Python 2.3 - but then ran
into the same Tkinter not loaded problem like he did.

After reading Stef's messages from this list, I
downloaded the latest version of Matplotlib - only to
find that Python 2.3 is no longer supported. So, I
loaded up Python 2.5 and ran the setup script for
Py2exe. Now, py2exe is unable to find
wxmsw26uh_vc.dll - eventhough I have wxPython 2.8
installed. So, I dug up a copy of wxPython 2.6 and
have that installed. The file is now there but py2exe
still can't find it.

This is very fustrating!

and it's even more frustrated that was discussed recently in again another list (wxPython-list) :wink:
Here was the solution:
Ok I updated MatPlot from version from 0.87.7 to 0.91.2

cheers,
Stef