[SciPy-user] Installation problems Mac OS X 10.4.7
Helmut Strey
streycats at gmail.com
Sat Sep 16 20:51:34 EDT 2006
I have been trying to install the SciPy Superpack for Python. I used
MacPython2.4. When I try to import pylab the following error message
appears:
helmut-streys-imac-g5:~ hstrey$ python
Python 2.4.3 (#1, Apr 7 2006, 10:54:33)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylab import *
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/local/lib/libfreetype.6.dylib
Referenced from:
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/ft2font.so
Reason: image not found
>>>
It seems that the package expects libfreetype6.dylib in
/usr/local/lib. I found it in /usr/X11R6/lib. I tried to create a
symbolic link but then it says that the compiler versions dont match.
What should I do?
Everything else works.
Thanks
Helmut Strey
More information about the SciPy-User
mailing list