[yt-users] install failure

Matthew Turk matthewturk at gmail.com
Wed Oct 1 07:38:34 PDT 2014


Hi Mordecai,

On Wed, Oct 1, 2014 at 8:42 AM, Mordecai-Mark Mac Low <mordecai at amnh.org> wrote:
> Hi Matt,
>
> good call!
>
> importing matplotlib.pyplot resulted in an abort out of python to the shell prompt:
>
> bash-3.2$ which python
> /Users/mordecai/bin/yt-x86_64/bin/python
> bash-3.2$ python
> Python 2.7.8 (default, Sep 28 2014, 20:55:56)
> [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.51)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import numpy
>>>> import matplotlib.pyplot
> Abort trap: 6
> bash-3.2$ python
> Python 2.7.8 (default, Sep 28 2014, 20:55:56)
> [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.51)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import h5py
>>>>
>
> - Mordecai
>

A clue!  :)  Can you try one more thing for me?

import matplotlib
matplotlib.use("agg")
import matplotlib.pyplot

if that's it, then there's an issue with the GUI toolkit, which would
not surprise me, and it can probably be fixed by taking a look in your
matplotlibrc, the location of which seems to change with every
matplotlib release.

-Matt



More information about the yt-users mailing list