[SciPy-user] 64 bit on Mac?

Adam keflavich at gmail.com
Mon Jun 22 12:36:34 EDT 2009


It turns out... that is not the problem.  I still have the error I
reported earlier:
>>> from matplotlib import pyplot
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
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

Any ideas?  This has been the sticking point for me for quite some
time.  A friend with a nearly identical setup was able to get this
working, but we haven't been able to figure out the difference in our
two installs.

Adam



More information about the SciPy-User mailing list