[Matplotlib-users] .87.3 intall problems

2006-06-27 Thread Danny Shevitz
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 "", 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' % (
 >>>

 



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] .87.3 intall problems

2006-06-27 Thread danny shevitz
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 

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] .87.3 intall problems

2006-06-27 Thread danny shevitz
thanks for all the help, it's working now. That wasn't even too bad.

FWIW, I did download the latest .matplotlibrc file off the web at :

http://matplotlib.sourceforge.net/matplotlibrc

It is currently out of date as it contains:
### IMAGES
image.aspect : free  # free | preserve

thanks,
Danny

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users