[Numpy-discussion] segm fault

Todd Miller jmiller at stsci.edu
Sat Dec 4 07:46:03 EST 2004


On Sat, 2004-12-04 at 07:47 +0100, René Bastian wrote:
> Hi,
> 
> i use numarray 1.1.1 with python2.3b1
> 
> import RandomArray2 as R
> w=R.uniform(-1., +1., 44100)
> 
> produces "Segmentation fault"
> 
> i never meet that.
> thanks for your help
> 

This looks like either you've got remanents of a really old numarray
installed or you're trying to run from within the numarray package
directory.  In the numarray-speak of today,  you'd write the import as:

import numarray.random_array as R

If you're running from the numarray package directory, don't.  If you
think maybe you've got old numarray stuff installed,  figure out where
RandomArray2 is coming from and delete it;  use numarray.random_array.

Regards,
Todd






More information about the NumPy-Discussion mailing list