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 On Oct 1, 2014, at 9:20, <yt-users-request@lists.spacepope.org> <yt-users-request@lists.spacepope.org> wrote:
Date: Sun, 28 Sep 2014 21:43:38 -0500 From: Matthew Turk <matthewturk@gmail.com> To: Discussion of the yt analysis package <yt-users@lists.spacepope.org> Subject: Re: [yt-users] Fwd: install failure Message-ID: <CALO3=5Ew7ni1YAdn1V8zUPfOG0U8OA3+PR_Su97gbntA3A8nkw@mail.gmail.com> Content-Type: text/plain; charset=UTF-8
Hi Mordecai,
On Sun, Sep 28, 2014 at 9:04 PM, Nathan Goldbaum <nathan12343@gmail.com> wrote:
On Sun, Sep 28, 2014 at 6:57 PM, Mordecai-Mark Mac Low <mordecai@amnh.org> wrote:
Here?s are examples of the problem. yt fails immediately with any usage. As you can see, I don?t have a lot of information here!
[yt-x86_64] sagittariusb 1 % yt Abort [yt-x86_64] sagittariusb 2 % yt --help Abort [yt-x86_64] sagittariusb 3 % 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 yt Abort [yt-x86_64] sagittariusb 4 %
My guess, which could be far off, is that it's a module yt is importing. I would try these things:
import numpy import matplotlib.pyplot import h5py
and see if any of those error out. If they don't, then I'll send over a script importing each component of yt which you can run which will identify which particular submodule. I suspect a symbol is unresolved or causing some issue; we often see similar behavior on systems where the linking is tricky.
-Matt
-- Mordecai-Mark Mac Low Curator & Professor +1-212-496-3443 Department of Astrophysics +1-212-769-5007 (fax) American Museum of Natural History mmaclow (Skype, Hangout) 79th St at CPW, NY, NY, 10024-5192, USA
Hi Mordecai, On Wed, Oct 1, 2014 at 8:42 AM, Mordecai-Mark Mac Low <mordecai@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
participants (2)
-
Matthew Turk
-
Mordecai-Mark Mac Low