Hi,
As in my other mail I am having trouble building from source.
Previously I used the mac .egg to get around this, but the
matplotlib-0.98.5-py2.5-macosx-10.3.egg for 0.98.5 doesn't appear to
work.
I install with -N as I found recommended elsewhere on the list, since
otherwise it tries to build from source which fails as in the other
mail.
After installing the egg
easy_install -N matplotlib-0.98.5-py2.5-macosx-10.3.egg
I get the following error about missing png library - is there a
dependency I need to install?
In [2]: import pylab
···
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/Users/robince/code/scipy_build/<ipython console> in <module>()
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/pylab.py
in <module>()
----> 1 from matplotlib.pylab import *
2 import matplotlib.pylab
3 __doc__ = matplotlib.pylab.__doc__
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/pylab.py
in <module>()
204 from numpy import ma
205
--> 206 from matplotlib import mpl # pulls in most modules
207
208 from matplotlib.dates import date2num, num2date,\
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/mpl.py
in <module>()
2 from matplotlib import axis
----> 3 from matplotlib import axes
4 from matplotlib import cbook
5 from matplotlib import collections
6 from matplotlib import colors
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/axes.py
in <module>()
16 import matplotlib.dates as mdates
17 import matplotlib.font_manager as font_manager
---> 18 import matplotlib.image as mimage
19 import matplotlib.legend as mlegend
20 import matplotlib.lines as mlines
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/image.py
in <module>()
17 # For clarity, names from _image are given explicitly in this module:
18 from matplotlib import _image
---> 19 from matplotlib import _png
20
21 # For user convenience, the names from _image are also imported into
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/_png.so,
2): Library not loaded: /usr/local/lib/libpng12.0.dylib
Referenced from:
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/_png.so
Reason: image not found
Thanks
Robin