.87.3 intall problems

I have done a bunch of upgrading (python, scipy, numpy,

    > ipython, matlotlib, pyreadline, ctypes) and of course
    > things are broken. Everything seems to be ok except for
    > matplotlib. I think it is a backend problem, but I am
    > nobody's expert on backends. I searched the archives for
    > "gobject" but didn't see anything that I could use.

    > Here's the versions (Win2k): python 2.4.3 scipy .4.9 numpy
    > .9.8 ipython .7.2 matplotlib .87.3

This means you don't have pygtk properly installed and you have GTK*
as one of the backends. Check your matplotlibrc file and either set
the backend to something else (eg TkAgg) or install pygtk.

Charlie -- I thought we were setting the default backend to TkAgg for
win32 installs.

JDH

TkAgg... GTKAgg. What difference does a letter make.
That helped. I couldn't remember the windows backend.

I still have a problem, but now it's the same if I import either
matplotlib or pylab:

···

------------------------------------------------------------------------
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.

import pylab

D:\ENTHOU~1\lib\site-packages\matplotlib\__init__.py:947: UserWarning:
Bad val "
free" on line #200
        "image.aspect : free # free | preserve"
        in file "e:\home\.matplotlib\matplotlibrc"
        not a valid aspect specification
  warnings.warn('Bad val "%s" on line #%d\n\t"%s"\n\tin file
"%s"\n\t%s' % (

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

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Charlie -- I thought we were setting the default backend to TkAgg for
win32 installs.

and I thought that was settled by being hard coded into setup.py

# line 287
if sys.platform=='win32':
    rc = dict(backend='TkAgg', numerix='Numeric')

Danny, can you try deleting your .matplotlib folder and trying again?

- Charlie

Hi Danny,

···

On Tuesday 27 June 2006 13:38, danny shevitz wrote:

TkAgg... GTKAgg. What difference does a letter make.
That helped. I couldn't remember the windows backend.

I still have a problem, but now it's the same if I import either
matplotlib or pylab:

------------------------------------------------------------------------
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.

>>> import pylab

D:\ENTHOU~1\lib\site-packages\matplotlib\__init__.py:947: UserWarning:
Bad val "
free" on line #200
        "image.aspect : free # free | preserve"
        in file "e:\home\.matplotlib\matplotlibrc"
        not a valid aspect specification
  warnings.warn('Bad val "%s" on line #%d\n\t"%s"\n\tin file
"%s"\n\t%s' % (

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

There have been some changes to the matplotlibrc file, just
remove "image.aspect : free # free | preserve" from your file to
prevent the message.