On Mon, Jun 22, 2009 at 11:36, Adam <keflavich@gmail.com> wrote:
from matplotlib import pyplot Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
It turns out... that is not the problem. I still have the error I reported earlier: python2.6/site-packages/matplotlib/pyplot.py", line 6, in <module> from matplotlib.figure import Figure, figaspect File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/matplotlib/figure.py", line 19, in <module> from axes import Axes, SubplotBase, subplot_class_factory File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/matplotlib/axes.py", line 11, in <module> import matplotlib.axis as maxis 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): Symbol not found: _FT_Attach_File Referenced from: /Library/Frameworks/Python.framework/Versions/2.6/ lib/python2.6/site-packages/matplotlib/ft2font.so Expected in: dynamic lookup
but apparently I DO have a 64 bit version of the FreeType library:
eta ~/Downloads/matplotlib-0.98.5.3$ file /Library/Frameworks/ Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/ ft2font.so /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site- packages/matplotlib/ft2font.so: Mach-O universal binary with 4 architectures /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site- packages/matplotlib/ft2font.so (for architecture i386): Mach-O bundle i386 /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site- packages/matplotlib/ft2font.so (for architecture ppc7400): Mach-O bundle ppc /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site- packages/matplotlib/ft2font.so (for architecture ppc64): Mach-O 64- bit bundle ppc64 /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site- packages/matplotlib/ft2font.so (for architecture x86_64): Mach-O 64- bit bundle x86_64
No, you have a 64-bit build of the ft2font.so extension module, not the libfreetype.dylib that it links with. Please use "otool -L ft2font.so" to see what libraries it is trying to load dynamically. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco