|
From: Andrew S. <str...@as...> - 2009-09-19 00:02:02
|
David Warde-Farley wrote: > On 18-Sep-09, at 6:42 PM, David Warde-Farley wrote: > >> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ >> python2.6/site-packages/ipython-0.10-py2.6.egg/IPython/Shell.py", line >> 627, in __init__ >> user_ns,user_global_ns,b2 = >> self._matplotlib_config(name,user_ns,user_global_ns) >> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ >> python2.6/site-packages/ipython-0.10-py2.6.egg/IPython/Shell.py", line >> 556, in _matplotlib_config >> import matplotlib.pylab as pylab >> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ >> python2.6/site-packages/matplotlib/pylab.py", line 206, in <module> >> from matplotlib import mpl # pulls in most modules >> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ >> python2.6/site-packages/matplotlib/mpl.py", line 1, in <module> >> from matplotlib import artist >> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ >> python2.6/site-packages/matplotlib/artist.py", line 5, in <module> >> from transforms import Bbox, IdentityTransform, TransformedBbox, >> TransformedPath >> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ >> python2.6/site-packages/matplotlib/transforms.py", line 34, in >> <module> >> from matplotlib._path import affine_transform >> ImportError: numpy.core.multiarray failed to import >> > > Looking a little harder at this (after downloading the source) I'm > positively at a loss, since multiarray doesn't seem to be explicitly > imported anywhere in matplotlib. Furthermore, importing > numpy.core.multiarray from ipython works just fine. > > Moreover, I just built matplotlib-0.99.1rc1 from source and the > problem doesn't manifest. _Weird_. Any idea what's going on? > Maybe the MPL binary was built with a numpy svn version that had API incompatibilities with numpy releases? |