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/pylab.py", line 1, in ?
from matplotlib.pylab import *
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/pylab.py", line 195, in ?
from axes import Axes, PolarAxes
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/axes.py", line 14, in ?
from axis import XAxis, YAxis
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/axis.py", line 21, in ?
from font_manager import FontProperties
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py", line 982, in ?
fontManager = FontManager()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py", line 826, in __init__
rebuild()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py", line 819, in rebuild
self.ttfdict = createFontDict(self.ttffiles)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py", line 458, in createFontDict
prop = ttfFontProperty(font)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py", line 271, in ttfFontProperty
sfnt = font.get_sfnt()
RuntimeError: No SFNT name table
Could anyone help with this issue? Many thanks
Brice
Brice Thurin
Department of Optometry and Visual Science
City University, Northampton Square
London, EC1V 0HB, UK.
http://www.city.ac.uk/optometry/Luis/myresearch/Research/scatteringproper.html
http://www.sharpeye.org/
Tel: +44 (0)20 7040 4157
Fax: +44(0)20 7040 8355
e-mail: B.P.S.Thurin@...648...