Hi Everyone,

I am running into a problem when trying to install 0.98.5 egg on a Mac OS X 
machine. Any help much appreciated. Relevant error messages follow:

Thanks
-Kaushik

sudo easy_install 
matplotlib-0.98.5-py2.5-macosx-10.3.egg**********************************************************************

============================================================================

BUILDING MATPLOTLIB

             matplotlib: 0.98.5

                 python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)  [GCC

                         4.0.1 (Apple Computer, Inc. build 5363)]

               platform: darwin


REQUIRED DEPENDENCIES

                  numpy: 1.2.1

              freetype2: found, but unknown version (no pkg-config)


OPTIONAL BACKEND DEPENDENCIES

                 libpng: found, but unknown version (no pkg-config)

                Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4

               wxPython: no

                         * wxPython not found

                   Gtk+: no

                         * Building for Gtk+ requires pygtk; you must be able

                         * to "import gtk" in your build/install environment

        Mac OS X native: yes

                     Qt: no

                    Qt4: no

                  Cairo: no


OPTIONAL DATE/TIMEZONE DEPENDENCIES

               datetime: present, version unknown

               dateutil: matplotlib will provide

                   pytz: 2008c


OPTIONAL USETEX DEPENDENCIES

                 dvipng: no

            ghostscript: /bin/sh: gs: command not found

                  latex: no


EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES

              configobj: matplotlib will provide

       enthought.traits: no


[Edit setup.cfg to suppress the above messages]

============================================================================

error: lib/matplotlib/mpl-data/matplotlib.conf.template: No such file or 
directory

Exception exceptions.OSError: (2, 'No such file or directory', 'src/image.cpp') 
in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 
0xf61120>> ignored

Exception exceptions.OSError: (2, 'No such file or directory', 'src/path.cpp') 
in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 
0xf48968>> ignored

Exception exceptions.OSError: (2, 'No such file or directory', 
'src/backend_agg.cpp') in <bound method CleanUpFile.__del__ of 
<setupext.CleanUpFile instance at 0xf48c38>> ignored


 From within 
ipython:***************************************************************************************************


In [1]: import pylab

---------------------------------------------------------------------------

ImportError                               Traceback (most recent call last)


/Users/kghose/<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


In [2]:


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to