I have switched to python2.4 and matplotlib does not install fine !
When doing : import pylab
I get :
>>> import pylab
The import of the numeric version of the _transforms module,
_nc_transforms, failed. This is is either because numeric was
unavailable when matplotlib was compiled, because a dependency
_nc_transforms could not be satisfied, or because the build flag
this module was turned off in setup.py. If it appears that
_nc_transforms was not built, make sure you have a working copy
numeric and then re-install matplotlib. Otherwise, the following
traceback gives more details:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/pylab.py", line 1, in ?
from matplotlib.pylab import *
line 198, in ?
from axes import Axes, PolarAxes
line 13, in ?
from artist import Artist, setp
line 4, in ?
from transforms import identity_transform
packages/matplotlib/transforms.py", line 189, in ?
from _transforms import Value, Point, Interval, Bbox, Affine
packages/matplotlib/_transforms.py", line 11, in ?
from matplotlib._nc_transforms import *
packages/matplotlib/_nc_transforms.so: undefined symbol:
However, Numeric24 is installed (and was installed before matplotlib),
and import Numeric is OK.
BTW, I use gcc33... but i don't think it matters a lot, does it ?l
Any idea is welcome !
From: John Hunter <jdhunter@ac...> - 2005-09-20 10:22:19
>>>>> "christophe" == christophe grimault <christophe.grimault@...> writes:
christophe> from matplotlib._nc_transforms import * ImportError:
christophe> packages/matplotlib/_nc_transforms.so: undefined
christophe> However, Numeric24 is installed (and was installed
christophe> before matplotlib), and import Numeric is OK.
christophe> BTW, I use gcc33... but i don't think it matters a
christophe> lot, does it ?l
Wonder if this could be a compiler version / C++ name mangling issue?
Did you compile from src? If so please rm -rf the build dir and
site-packages/matplotlib and try a clean install. If not, you may
want to contact the maintainer of the binary build you are using.