[SciPy-user] Illegal Instruction

Robert Kern robert.kern@gmail....
Mon Sep 8 10:47:14 CDT 2008

On Mon, Sep 8, 2008 at 10:03, bernardo martins rocha
<bernardo.rocha@meduni-graz.at> wrote:
> Hi Guys,
> i'm trying to use scipy.optimize.leastsq but whenever I call it I get
> the following error:
> /"In [13]: p0 = [0.5,1,0.5,1] # initial guesses
> In [14]: guessfit = dbexpl(t,p0)
> In [15]: pbest = leastsq(residuals,p0,args=(data,t),full_output=1)
> Illegal instruction"
> /What does this error mean? I don't think it's is a error in the way I'm
> calling the method because I haven't changed my script that was working
> fine some weeks ago.

Are you on Windows? Which scipy binaries are you using? Does your CPU
support SSE2?

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco

More information about the SciPy-user mailing list