Hi folks,
I've been using 0.80 on OS X (10.3.9) for a while with no problems
(installed from source). I thought I'd take the plunge and install the
latest version (again from source), the
first time I'm trying it on the Mac with mpl's TeX capability. I am
(still) using Apple's Python 2.3.0.
The installation appeared to go fine, but I cannot import pylab:
import pylab
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/pylab.py", line 1, in ?
from matplotlib.pylab import *
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/matplotlib/pylab.py",
line 198, in ?
from axes import Axes, PolarAxes
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/matplotlib/axes.py",
line 14, in ?
from axis import XAxis, YAxis
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/matplotlib/axis.py",
line 25, in ?
from font_manager import FontProperties
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/matplotlib/
font_manager.py", line 993, in ?
fontManager = FontManager()
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/matplotlib/
font_manager.py", line 837, in __init__
rebuild()
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/matplotlib/
font_manager.py", line 830, in rebuild
self.ttfdict = createFontDict(self.ttffiles)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/matplotlib/
font_manager.py", line 456, in createFontDict
font = ft2font.FT2Font(str(fpath))
RuntimeError: Could not load facefile /Library/Fonts/JazzCor; Unknown_File_Format
After this, further attempts to import or reload pylab give no errors,
but there is no pylab.plot (or any other pylab function I've tried).
The font in question is a PostScript Type 1 font installed by a music
app I use (Finale). There is also an accompanying JazzCord.suit font
suitcase. Whether these fonts are in a readable format or not, I
would guess that mpl should be able to skip any font files it can't
load/identify and proceed with what it *can* load, rather than
completely aborting. Or perhaps this is just a symptom of another
installation issue. Any ideas on how to proceed? Or do I just
go back to 0.80? 8-(
Thanks,
Tom
···
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/