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
Thanks,
Danny
when I try to import pylab here's the error:
···
------------------------------------------------------------------------------------------------------------
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' % (
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "D:\Enthought\Lib\site-packages\pylab.py", line 1, in ?
from matplotlib.pylab import *
File "D:\Enthought\Lib\site-packages\matplotlib\pylab.py", line 219, in ?
new_figure_manager, draw_if_interactive, show = pylab_setup()
File "D:\Enthought\Lib\site-packages\matplotlib\backends\__init__.py", line 23
, in pylab_setup
globals(),locals(),[backend_name])
File "D:\Enthought\Lib\site-packages\matplotlib\backends\backend_gtkagg.py", l
ine 10, in ?
from backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\
File "D:\Enthought\Lib\site-packages\matplotlib\backends\backend_gtk.py", line
6, in ?
import gobject
ImportError: No module named gobject
>>>
------------------------------------------------------------------------------------------------------------
when I try to import matplotlib directly, here's the error:
------------------------------------------------------------------------------------------------------------
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 matplotlib
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' % (
>>>
------------------------------------------------------------------------------------------------------------