On Monday, December 13, 2010, Uri Laserson <laser...@mit.edu> wrote:
>
> Can you try importing pyplot from a regular python prompt?  If that
> works, then the issue is with ipython messing up the import process of
> mpl.
>
>  I get exactly the same problem...
>
>
> laser...@hobbes:~$ pythonPython 2.7.1 (r271:86832, Dec 13 2010, 
> 14:21:05) [GCC 4.2.1 (Apple Inc. build 5664)] on darwinType "help", 
> "copyright", "credits" or "license" for more information.
>
>>>> import matplotlib>>> import matplotlib.pyplotRuntimeError: module compiled 
>>>> against ABI version 2000000 but this version of numpy is 1000009Traceback 
>>>> (most recent call last):
>
>   File "<stdin>", line 1, in <module>  File 
> "/Users/laserson/matplotlib/lib/python2.7/site-packages/matplotlib/pyplot.py",
>  line 23, in <module>    from matplotlib.figure import Figure, figaspect
>
>   File 
> "/Users/laserson/matplotlib/lib/python2.7/site-packages/matplotlib/figure.py",
>  line 16, in <module>    import artist  File 
> "/Users/laserson/matplotlib/lib/python2.7/site-packages/matplotlib/artist.py",
>  line 6, in <module>
>
>     from transforms import Bbox, IdentityTransform, TransformedBbox, 
> TransformedPath  File 
> "/Users/laserson/matplotlib/lib/python2.7/site-packages/matplotlib/transforms.py",
>  line 34, in <module>
>
>     from matplotlib._path import affine_transformImportError: 
> numpy.core.multiarray failed to import>>>
>

Well, on my Linux system, when I get that error, it happens when I do
an update of numpy, but fail to rebuild mpl.  Here is the order how I
build things: numpy, scipy, matplotlib.  I would imagine ipython goes
last.

Ben Root

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to