On Thu, Jul 8, 2010 at 5:50 AM, Karianne Holhjem
<karia...@astro.uni-bonn.de> wrote:
> Hi,
>
> I'm having trouble getting pyplot and pylab to work on my Mac v.10.4.11
> (Tiger). I've tried searching in both google and different macusers
> forums, but haven't found an answer to my problems. If I have overlooked a
> webpage please send me a link to the solution.
>
> To download matplotlib I have downloaded the dmg package from the official
> matplotlib page
> http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/
>
> and it seems to install fine. However, I cannot use neither pyplot nor
> pylab:


You're on the right track with the debugging information you are
trying to provide.  One problem is in your script bla.py.  You do

  import matplotlib as mpl
  import mpl.pyplot
  import mpl.pylab

but you need to do

  import matplotlib as mpl
  import matplotlib.pyplot
  import matplotlib.pylab

This won't fix your segfault, but it may help you get get better
debugging information.

My first guess is a numpy version conflict -- what version are you
running?  You can check the version requirements of the OSX installer
in the README that is provides.  Many recent versions of numpy are not
ABI compatible, unfortunately.

JDH

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to