From: praxbaf...@hotmail.com
To: numpy-discuss...@scipy.org
Date: Sun, 19 Apr 2009 20:31:32 -0700
Subject: [Numpy-discussion] 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  ft2font.so – 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/pylab.py",
 line 1, in <module>
    from matplotlib.pylab import *
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/pylab.py",
 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/mpl.py",
 line 2, in <module>
    from matplotlib import axis
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/axis.py",
 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/font_manager.py",
 line 52, in <module>
    from matplotlib import ft2font
ImportError: 
dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/ft2font.so,
 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/ft2font.so
  Reason: image not found
>>> 

Rediscover Hotmail®: Now available on your iPhone or BlackBerry Check it out.
_________________________________________________________________
Rediscover Hotmail®: Get quick friend updates right in your inbox. 
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Updates2_042009
_______________________________________________
Numpy-discussion mailing list
numpy-discuss...@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to