On Jul 20, 2013, at 6:04 PM, Tommy Grav <tg...@mac.com> wrote:

> On Jul 20, 2013, at 11:19 AM, Michiel de Hoon <mjldeh...@yahoo.com> wrote:
> 
>> Hi Tommy,
>> 
>> Look inside the pyplot.py module. I don't have the code in front of me now, 
>> but I guess it's a module that loads a bunch of other modules, and one of 
>> those wants to use X11. This should not depend on whether the developersā€˜ 
>> tools are present.
>> -michiel 
> 
> Ok, so with a long list of print statements I have tracked it down to 
> the statement
> 
> import matplotlib._png as _png
> 
> in image.py. So there seems to be a bad binding in the _png.so file. Is there
> a way to figure out which bindings this file has?

otool -L path/to/_png.so

will "Display the names and version numbers of the shared libraries that the 
object file uses"
I think otool is installed when you install Xcode.


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&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