Hi Chris,
> the framework. Though, if I understand correctly, Anaconda provides a
> framework version of the interpreter
> pythonw and a non-frameworked python?
>
> This is right -- the GUI backends to matplotlib cause python to crash, but
> not pythonw. This is annoying, since the two binaries
> are equivalent under most other python installs. E.g. the mac system python
> manpage reads:
>
> To support multiple versions, the programs named python and pythonw now
> just select the real version of Python to run, depending on various set-
> tings. (As of Python 2.5, python and pythonw are interchangeable; both
> execute Python in the context of an application bundle, which means they
> have access to the Graphical User Interface; thus both can, when properly
> programmed, display windows, dialogs, etc.)
>
> So people don't usually think to invoke different anaconda python commands,
> leading to unexpected crashes (especially when using tools like pytest, which
> invoke python, run a test that needs MPL, and crash).
>
well, the way it is currently designed to would be to ‘crash’ resp. exit with
an error right on starting up the
non-framework interpreter. But besides that it’s curious that its python
actually crashes with the macosx
backend, which I have never seen with Fink’s non-framework Python. Just tested
this with 1.4.0rc3 and
Python2.7 (previously with 1.5.x HEAD in Python3.4), and it works the same -
the same little quirks,
but no signs of performance or stability problems.
> This definitely seems like Anaconda's problem rather than matplotlib's (it
> affects any program that tries to import Qt, e.g.)
>
So it affects other backends besides macosx or even all? Yes, this seems to be
rather Anaconda-specific.
I’ve looked for anything special in the build options, but besides adding the
right include and linker paths
there isn’t really anything.
Cheers,
Derek
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel