[SciPy-user] matplotlib error after numpy 0.9.8 installation
David M. Cooke
cookedm at physics.mcmaster.ca
Fri May 19 13:37:06 EDT 2006
"morovia" <morovia at rediffmail.com> writes:
> Hello,
>
> Did anyone have matplotlib working after recent numpy
> 0.9.8 version installation. I tried to reinstall matplotlib
> after numpy installation. I got the error which I appended
> below.
It works for me (well, the subversion version of matplotlib). Did you
remove the build/ directory in your matplotlib source directory first?
That can screw things up. And for a good measure remove the installed
version first from site-packages/ before reinstalling.
> Thanks,
> Best regards,
> Morovia.
>
> from pylab import *
>
> The import of the numpy version of the _transforms module,
> _ns_transforms, failed. This is is either because numpy was
> unavailable when matplotlib was compiled, because a dependency of
> _ns_transforms could not be satisfied, or because the build flag for
> this module was turned off in setup.py. If it appears that
> _ns_transforms was not built, make sure you have a working copy of
> numpy and then re-install matplotlib. Otherwise, the following
> traceback gives more details:
>
> Traceback (most recent call last):
> File "/disk2/data/cd/user10/bin/myprogs/mpfit-current.py", line 11, in ?
> from pylab import *
> File "/disk2/data/cd/user10/bin/python243/lib/python2.4/site-packages/pylab.py", line 1, in ?
> from matplotlib.pylab import *
> File "/disk2/data/cd/user10/bin/python243/lib/python2.4/site-packages/matplotlib/pylab.py", line 200, in ?
> from axes import Axes, PolarAxes
> File "/disk2/data/cd/user10/bin/python243/lib/python2.4/site-packages/matplotlib/axes.py", line 14, in?
> from artist import Artist, setp
> File "/disk2/data/cd/user10/bin/python243/lib/python2.4/site-packages/matplotlib/artist.py", line 4, in ?
> from transforms import identity_transform
> File "/disk2/data/cd/user10/bin/python243/lib/python2.4/site-packages/matplotlib/transforms.py", line 189, in ?
> from _transforms import Value, Point, Interval, Bbox, Affine
> File "/disk2/data/cd/user10/bin/python243/lib/python2.4/site-packages/matplotlib/_transforms.py", line17, in ?
> from matplotlib._ns_transforms import *
> ImportError: /disk2/data/cd/user10/bin/python243/lib/python2.4/site-packages/matplotlib/_ns_transforms.so: undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
--
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca
More information about the SciPy-User
mailing list