[Numpy-discussion] Floating exception

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Jan 21 05:36:25 CST 2010


On Thu, 21 Jan 2010 10:04:56 +0900
  David Cournapeau <david@silveregg.co.jp> 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' ?

Should I start with a clean 
/data/home/nwagner/local/lib/python2.5/site-packages ?

Cheers,
                    Nils


More information about the NumPy-Discussion mailing list