2010/12/7 Kaushik Ghose <kaushik_gh...@hms.harvard.edu>:
> I did a search on the mailing list but could not come up with a solution, so I
> am crying "Uncle" and writing.

:-)

> I installed matplotlib 1.0.0 from the package on SF
> (http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg/download)
>
> I assumed that 10.4 would work on my 10.5 - perhaps that is where I went 
> wrong?

Normally it should work, the 10.4 is the least recent version where it
is supposed to work.

> I installed it and got, satisfactorily:
>
> import matplotlib
> matplotlib.__version__
> ---> '1.0.0'
>
> But when I do
>
> import pylab
>
> I get a bus error that throws me out of ipython.

Two suggestions (just covering incompletely that I have no real idea atm):

1)  Try to import it from CPython (meaning $python -c "import pylab"
or $python CR >>> import pylab).  Might be that ipython is the
culprit.

2)  Try >>> import matplotlib.pylab instead.  When your pylab module
may come from somewhere else than the mpl module you're importing.

You didn't have matplotlib installed before, or have made some other
notable changes to your system?

What Python distro do you use?

Friedrich

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to