If you saw my previous post about upgrading to XDarwin 1.1.3, and breaking matplotlib, the following seems to work:
Soft-linking to libfreetype.6.3.8.dylib rather than libfreetype.6.3.dylib (see below, copied from previous email). Thanks for that Apple! -Tony > >>> import numpy as N >>>> N.__version__ >'0.9.6' >>>> import matplotlib >>>> matplotlib.__version__ >'0.87.2' >>>> import pylab as PLT >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 200, in ? > from axes import Axes, PolarAxes > File >"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/axes.py", > >line 15, in ? > from axis import XAxis, YAxis > File >"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/axis.py", > >line 25, in ? > from font_manager import FontProperties > File >"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/font_manager.py", > >line 39, in ? > from matplotlib import ft2font >ImportError: Failure linking new module: >/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/ft2font.so: > >Library not loaded: /usr/X11R6/lib/libfreetype.6.dylib > Referenced from: >/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/ft2font.so > Reason: Incompatible library version: ft2font.so requires version >10.0.0 or later, but libfreetype.6.dylib provides version 6.3.0 I note that in /usr/X11R6/lib that softlinks to the libraries mentioned above were recently changed: >/usr/X11R6/lib >jplajm:8:lib $ ll libfree* >-rwxr-xr-x 1 root wheel 1786588 Apr 28 2006 libfreetype.6.3.8.dylib >-rw-r--r-- 1 root wheel 683560 Nov 6 17:31 libfreetype.6.3.dylib >lrwxr-xr-x 1 root wheel 21 Nov 21 09:07 libfreetype.6.dylib >-> libfreetype.6.3.dylib >-rw-r--r-- 1 root wheel 1907688 Apr 28 2006 libfreetype.a >lrwxr-xr-x 1 root wheel 21 Nov 21 09:07 libfreetype.dylib >-> libfreetype.6.3.dylib >-rwxr-xr-x 1 root wheel 836 Apr 28 2006 libfreetype.la -- Tony Mannucci Supervisor, Ionospheric and Atmospheric Remote Sensing Group Mail-Stop 138-308, Tel > (818) 354-1699 Jet Propulsion Laboratory, Fax > (818) 393-5115 California Institute of Technology, Email > [EMAIL PROTECTED] 4800 Oak Grove Drive, http://genesis.jpl.nasa.gov Pasadena, CA 91109 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users