Hi,

Do you have the same issue in any other python shell, outside spyder? If
so, than it seems this is an Matplotlib issue. Are you sure have all the
matplotlib dependencies installed, including libpng? Some random stuff a
search gave me:
http://telliott99.blogspot.dk/2011/07/matplotlib-on-os-x-lion-revised.html
http://penandpants.com/2012/03/01/install-python-2/

Not sure if that helped (I don't have a Mac)...anyway, I tried :-)

Regards,
David


On 15 May 2013 05:08, Dominik Schneider <[email protected]> wrote:

> Hi, I just installed Spyder having never used python before. I'm on
> OSX.6.8.   I opened Spyder and saw this error message in the console.
> matplotlib is one of the packages I came to python for so I want to figure
> this out. Can someone help sort this for me? Thanks
>
> Python 2.7.3 (default, Jul 24 2012, 20:20:13)
> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)] on
> darwin
> Type "help", "copyright", "credits" or "license" for more information.
> Traceback (most recent call last):
>   File
> "/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/scientific_startup.py",
> line 16, in <module>
>     from pylab import *  #analysis:ignore
>   File "pylab.pyc", line 1, in <module>
>   File
> "/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/pylab.py",
> line 222, in <module>
>     from matplotlib import mpl  # pulls in most modules
>   File
> "/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/mpl.py",
> line 2, in <module>
>     from matplotlib import axis
>   File
> "/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/axis.py",
> line 14, in <module>
>     import matplotlib.text as mtext
>   File
> "/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/text.py",
> line 29, in <module>
>     from matplotlib.backend_bases import RendererBase
>   File
> "/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/backend_bases.py",
> line 47, in <module>
>     import matplotlib.textpath as textpath
>   File
> "/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/textpath.py",
> line 11, in <module>
>     from matplotlib.mathtext import MathTextParser
>   File
> "/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/mathtext.py",
> line 61, in <module>
>     import matplotlib._png as _png
> ImportError:
> dlopen(/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/_png.so,
> 2): Library not loaded: /usr/X11/lib/libpng15.15.dylib
>   Referenced from:
> /Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/_png.so
>   Reason: image not found
>
> --
> You received this message because you are subscribed to the Google Groups
> "spyder" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/spyderlib?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to