[SciPy-User] curve_fit missing from scipy.optimize

josef.pktd@gmai... josef.pktd@gmai...
Fri Jul 16 00:43:31 CDT 2010


On Fri, Jul 16, 2010 at 1:23 AM, Charles R Harris
<charlesr.harris@gmail.com> wrote:
>
>
> On Thu, Jul 15, 2010 at 11:08 PM, Benedikt Riedel <briedel@wisc.edu> wrote:
>>
>> Hello all,
>>
>> I was setting up my new server at the moment and wanted to install scipy
>> on it. I got it all setup thanks to a couple online tutorials. When I tried
>> to run one of my scripts, I got a segmentation fault when it came to
>> importing scipy.optimize. I then used the software manager to install
>> another version of scipy (0.7.0-2 instead of 0.7.2). I then could at least
>> import scipy.optimize, but scipy.optimize.curve_fit could not be found. So I
>> installed 0.7.2 again and now scipy.optimize could be found, but curve_fit
>> was still missing. I looked on google and could only find one solution by
>> replacing the minpack.py file. I tried that and does not seem to work
>> either. Any other ideas or hints?
>>
>
> What operating system/distribution is this on? What software manager? This
> definitely looks like an installation problem.

optimize.curve_fit was added to scipy after 0.7.x (if I remember correctly)

curve_fit is a standalone function (plus two helper functions) and can
be copied anywhere.

Josef

>
> Chuck
>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>


More information about the SciPy-User mailing list