can't import pylab

I can't import pylab!!

it's a problem with ft2font. I checked for the existence of the files it's looking for, the libfreetype.6.dylib, and – they exist in the places they're supposed to. I don't really know what 'image not found' exactly means.

If anyone has any suggestions, I will be very grateful.

import pylab

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/", line 1, in <module>
    from matplotlib.pylab import *
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/", line 206, in <module>
    from matplotlib import mpl # pulls in most modules
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/", line 2, in <module>
    from matplotlib import axis
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/", line 9, in <module>
    import matplotlib.font_manager as font_manager
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/", line 52, in <module>
    from matplotlib import ft2font
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/, 2): Library not loaded: /usr/X11R6/lib/libfreetype.6.dylib
  Referenced from: /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/
  Reason: image not found

Rediscover Hotmail®: Now available on your iPhone or BlackBerry Check it out.

ATT00000 (165 Bytes)


From: praxbaffle@...32...
To: numpy-discussion@...177...
Date: Sun, 19 Apr 2009 20:31:32 -0700
Subject: [Numpy-discussion] can't import pylab

Rediscover Hotmail®: Get quick friend updates right in your inbox.