On Thu, Jan 21, 2010 at 8:36 PM, Nils Wagner <[email protected]> wrote: > On Thu, 21 Jan 2010 10:04:56 +0900 > David Cournapeau <[email protected]> wrote: >> Nils Wagner wrote: >>> Hi all, >>> >>> I found a strange problem when I try to import numpy >>> >>> python -v >>>>>> import numpy >>> ... >>> dlopen("/data/home/nwagner/local/lib/python2.5/site-packages/numpy/core/multiarray.so", >>> 2); >>> Floating exception >>> >>> Any idea ? >> >> Could you get a traceback (ideally making sure numpy is >>built with debug >> symbols - having -g in both CFLAGS and LDFLAGS) ? >> >> Having it happening inside the dlopen call is a bit >>weird, I can't see >> what could cause it, >> >> cheers, >> >> David > > Hi David, > > Thank you for your response. > I switched from CentOS 4.2 to CentOS 5.2 > Here is the output of > > gdb python > run -v > # > /data/home/nwagner/local/lib/python2.5/site-packages/site.pyc > has bad magic > ... > > What is the meaning of 'bad magic' ?
It seems that the bad magic is coming from python, which would most likely mean the site.pyc bytecode is not compatible with the run python. This is independent of your problem I think, David _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
