Hi,

Congratulations on the new release.

I just tried installing in a fresh installation of Python 2.7 from Python.org

Am I right in thinking the recommended method is:

    pip install matplotlib

?  I did this, and then:

>>> import matplotlib.pyplot as plt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/pyplot.py",
line 24, in <module>
    import matplotlib.colorbar
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/colorbar.py",
line 29, in <module>
    import matplotlib.collections as collections
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/collections.py",
line 23, in <module>
    import matplotlib.backend_bases as backend_bases
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backend_bases.py",
line 50, in <module>
    import matplotlib.textpath as textpath
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/textpath.py",
line 14, in <module>
    from matplotlib.mathtext import MathTextParser
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/mathtext.py",
line 62, in <module>
    import matplotlib._png as _png
ImportError: 
dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_png.so,
2): Library not loaded: /usr/X11/lib/libpng12.0.dylib
  Referenced from:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_png.so
  Reason: Incompatible library version: _png.so requires version
42.0.0 or later, but libpng12.0.dylib provides version 36.0.0

There were no previous versions of matplotlib installed.  This on OSX 10.6:

Python 2.7.5  just installed from python.org
X11 installed from the Apple installation disks for 10.6 before `pip
install matplotlib`
No homebrew etc

Any hints about how I should debug this further?

Thanks a lot for any help,

Matthew

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to