windows - RuntimeWarning while using lambda function (Win8 computer) -


i installed python(x,y)-2.7.5.0 run python programs on win8 laptop. programs run on linux, when use python(x,y) error message:

d:\python27\lib\site-packages\scipy\optimize\minpack.py:402: runtimewarning: number of calls function has reached maxfev = 2800.

warnings.warn(errors[info][0], runtimewarning)

the error occurs during harmonic analysis @ "func= lambda..." part:

y = n.ravel(zon[:,z,k,:]) print k                  func = lambda p,s,c,y: fitfunc(p,s,c) - y # distance target function print k                    p1, success = optimize.leastsq(func, p0[:], args=(s,c,y)) 

i looked up, maxfev defined, guess, it´s not idea change it. question is, whether error caused bug of python(x,y) or windows 8 system. how can search after answer?

does else use python(x,y)-2.7.5.0 win8 computer?

as suggested padraic cunningham (python 64 package windows), installed anaconda 64bit windows. there no problems anymore. think, 1 problem might have been 32bit version of pythonxy. aspect might be, didn´t use latest version of pythonxy, i´m not sure that.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -