[SciPy-user] Installation problems Mac OS X 10.4.7

David Andrews irbdavid at gmail.com
Sun Sep 17 04:01:26 CDT 2006


Hi Helmut,

I've been having precisely the same problem.  As far as I can tell
there is no way to get the stuff in the superpack working together
properly.  Numpy and Scipy install fine from it, but the matplotlib
mpkg in it is broken.  I had no real progress using the 'official'
matplotlib packages from their site, as they expect a different
version of numpy, despite the fact that its supposed to be fine with
all 1.0+ versions of numpy.

I'm not sure how to resolve this problem, It has been suggested that
its best to install packages from
http://pythonmac.org/packages/py24-fat/index.html though scipy is
currently not available there.

Let me know if you make any progress :)

Cheers,

Dave

On 17/09/06, Helmut Strey <streycats at gmail.com> wrote:
> 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
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-user mailing list