Libpng Error on OSX

18 views
Skip to first unread message

Gregg Stock

unread,
Aug 16, 2015, 11:29:38 PM8/16/15
to sympy
I'm not sure if this is the right group but any help is appreciated.

I'm trying to run the QT console running this example:


and get the following error:

ImportError: dlopen(/Users/gstock/anaconda/lib/python2.7/site-packages/matplotlib-1.5.dev1-py2.7-macosx-10.5-x86_64.egg/matplotlib/_png.so, 2): Library not loaded: libpng15.15.dylib
  Referenced from: /Users/gstock/anaconda/lib/python2.7/site-packages/matplotlib-1.5.dev1-py2.7-macosx-10.5-x86_64.egg/matplotlib/_png.so
  Reason: image not found


I have libpng installed but the version is 1.6.18

Thanks in advance for any ideas


Aaron Meurer

unread,
Aug 17, 2015, 12:20:31 AM8/17/15
to sy...@googlegroups.com
This isn't really the best list for this question. I would recommend either the matplotlib mailing list or the anaconda support mailing list. 

However, since I am already responding, I'm guessing the issue is that you compiled and installed the dev version of matplotlib against an older libpng and then updated libpng. So probably just re-compiling and installing the dev version of matplotlib would fix it (or if you don't actually want the dev version, uninstall it and use the conda installed release version).

Aaron Meurer


--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/6d3043be-bfbe-444f-84a0-0cf8f77e9ca2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages