osx - libpng version incompatibility in fresh installation of IPython -


i used this guide install "scientific stack" python (osx 10.9.2, brewed python 2.7.6, ipython 2.0, matplotlib 1.3.1, libpng 1.6.10). looking good.

however, trying run simple plot in ipython's notebook environment --pylab=inline gives me error:

/usr/local/cellar/python/2.7.6/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/ipython/core/formatters.py:239: formatterwarning: exception in image/png formatter: not create write struct formatterwarning,

and in terminal says: libpng warning: application built libpng-1.5.17 running 1.6.10

i have no other libpng installed far can tell. tried deleting files beginning libpng /usr/local/ , reinstalling everything, no avail. output building matplotlib (pip install matplotlib) contains:

building matplotlib             matplotlib: yes [1.3.1]                 python: yes [2.7.6 (default, mar 16 2014, 15:04:47)  [gcc                         4.2.1 compatible apple llvm 5.1 (clang-503.0.38)]]               platform: yes [darwin]  required dependencies , extensions                  numpy: yes [version 1.8.1]               dateutil: yes [using dateutil version 2.2]                tornado: yes [using tornado version 3.2]              pyparsing: yes [using pyparsing version 2.0.1]                  pycxx: yes [couldn't import.  using local copy.]                 libagg: yes [pkg-config information 'libagg' not                         found. using local copy.]               freetype: yes [version 17.2.11]                    png: yes [version 1.6.10]  optional subpackages            sample_data: yes [installing]               toolkits: yes [installing]                  tests: yes [using nose version 1.3.1]  optional backend extensions                 macosx: yes [installing, darwin]                 qt4agg: yes [installing, qt: 4.8.6, pyqt4: 4.10.4]                gtk3agg: no  [requires pygobject installed.]              gtk3cairo: no  [requires cairo installed.]                 gtkagg: no  [requires pygtk]                  tkagg: yes [installing, version 81008]                  wxagg: no  [requires wxpython]                    gtk: no  [requires pygtk]                    agg: yes [installing]                  cairo: no  [cairo not found]              windowing: no  [microsoft windows only]  optional latex dependencies                 dvipng: no            ghostscript: no                  latex: no                pdftops: no 

so seems me matplotlib should compiled against libpng 1.6.10? can me figure out what's going on?

look old header files beginning "png" (png.h, pngconf.h, perhaps others) , remove them.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -