for python2.5 and 2.6 (if you need 2.4 please respond here). Sorry
for the delay, but we hit a nasty python2.6/libpng/mingw that held us
up. Thanks to Christoph Gohlke
for the visual studio builds and Charlie Moad for the MingW framework.
I installed this on python 2.6.2 using the windows installer (the .exe) but
it crashes even on something as
simple as importing pylab from the interactive prompt. To make sure it
wasn't a conflict with other packages, I created a clean virtualenv
directory and installed matplotlib from the 2.6 egg, but the results are the
same. Trying to run any matplotlib example immediately creates a windows
exception dialog.
Casey
John Hunter-4 wrote:
···
The windows binaries for the latest matplotlib release are now
available for download at
I installed the binaries using the .exe file on Python 2.6.2 but it throws a
windows exception when I try to do anything with matplotlib, even just
typing 'import pylab' in the python command interpreter. To rule out any
conflicts, I created a python virtualenv directory and installed matplotlib
from the .egg file, but it still throws an exception every time.
Casey
John Hunter-4 wrote:
···
The windows binaries for the latest matplotlib release are now
available for download at
It seems that default backend for Windows binaries is TkAgg in Python 2.5 but
WXAgg in Python 2.6 (files from matplotlib/mpl-data in eggs are
different).So without WxPython (what is quite common) there is ImportError
with simple "from pylab import *".
It could be solved very simply and then everything is ok including saving of
png files.
Thank you,
Petr Marhoun
John Hunter-4 wrote:
···
The windows binaries for the latest matplotlib release are now
available for download at
for python2.5 and 2.6 (if you need 2.4 please respond here). Sorry
for the delay, but we hit a nasty python2.6/libpng/mingw that held us
up. Thanks to Christoph Gohlke
for the visual studio builds and Charlie Moad for the MingW framework.
Christoph, would you be able to rebuild the installers using TkAgg as
the default backend? Basically, at build time, you need to copy
setup.cfg.template to setup.cfg and set the line
On Mon, Jun 15, 2009 at 7:38 AM, CaseyWeb<niwotian60@...32...> wrote:
I installed this on python 2.6.2 using the windows installer (the .exe) but
it crashes even on something as
simple as importing pylab from the interactive prompt. To make sure it
wasn't a conflict with other packages, I created a clean virtualenv
directory and installed matplotlib from the 2.6 egg, but the results are the
same. Trying to run any matplotlib example immediately creates a windows
exception dialog.
I do have wxPython 2.8 installed so I don't know why this would have caused
the problem in the first place, but I changed the matplotlibrc to backend :
TkAgg and I still get the windows crash. Just to be clear, this isn't an
import error or simple python exit; I'm actually getting the Windows crash
dialog box whenever I import pylab. Importing matplotlib doesn't seem to
cause any problems, but I haven't tried to do anything with it yet.
John Hunter-4 wrote:
···
Apparently the binaries are fine but the default matplotlib rc is
setting the backend to wxagg. site-packages/matplotlib/mpl-data and
set
make sure you have a clean installation by removing
site-packages/matplotlib and any associated eggs. I tried the exe
installer and got the wxpython traceback. I switched to tkagg and was
able to make plots, save pngs, etc.
JDH
···
On Mon, Jun 15, 2009 at 10:12 AM, CaseyWeb<niwotian60@...32...> wrote:
I do have wxPython 2.8 installed so I don't know why this would have caused
the problem in the first place, but I changed the matplotlibrc to backend :
TkAgg and I still get the windows crash. Just to be clear, this isn't an
import error or simple python exit; I'm actually getting the Windows crash
dialog box whenever I import pylab. Importing matplotlib doesn't seem to
cause any problems, but I haven't tried to do anything with it yet.