problem importing pylab on OSX

I've just finished to install matplotlib on mac os X panther and when I try to import pylab, i have got the following error:

Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/", line 1, in ?
     from matplotlib.pylab import *
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/", line 195, in ?
     from axes import Axes, PolarAxes
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/", line 14, in ?
     from axis import XAxis, YAxis
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/", line 21, in ?
     from font_manager import FontProperties
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/", line 982, in ?
     fontManager = FontManager()
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/", line 826, in __init__
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/", line 819, in rebuild
     self.ttfdict = createFontDict(self.ttffiles)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/", line 458, in createFontDict
     prop = ttfFontProperty(font)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/", line 271, in ttfFontProperty
     sfnt = font.get_sfnt()
RuntimeError: No SFNT name table

Could anyone help with this issue? Many thanks


Brice Thurin

Department of Optometry and Visual Science
City University, Northampton Square
London, EC1V 0HB, UK.

Tel: +44 (0)20 7040 4157
Fax: +44(0)20 7040 8355
e-mail: B.P.S.Thurin@...648...