[SciPy-dev] installing openopt

Johann Cohen-Tanugi cohen@slac.stanford....
Sun Sep 21 12:35:10 CDT 2008


hi there,
how do I switch off installation of numpy 1.1.1 on my linux box? I have 
numpy '1.3.0.dev5834' but it does not seem to be recognized by openopt 
when I  launch python setup.py install
thanks,
Johann

dmitrey wrote:
> Hi Nils,
> unfortunately I can't reproduce the bug.
> Does anyone else encounter the one?
>
> As for the bug, it means openopt can't find 
> .../openopt/solvers/scipy_optim/scipy_leastsq_oo.py file. It could be 
> raised if you use openopt from egg file. However, you say you have 
> installed from svn, and with ordinary python setup.py install it 
> shouldn't be happened.
>
> D.
>
> Nils Wagner wrote:
>   
>> Hi Dmitrey,
>>
>> I have installed the most recent openopt from svn.
>>
>> Now, several examples failed with a KeyError.
>>
>> python -i svn/openopt/scikits/openopt/examples/lsp_1.py
>> OpenOpt checks user-supplied gradient df (shape: (3, 2) )
>> according to:
>>      prob.diffInt = [  1.00000000e-07]
>>      |1 - info_user/info_numerical| <= prob.maxViolation = 
>> 0.01
>> derivatives are equal
>> ========================
>> Traceback (most recent call last):
>>    File "svn/openopt/scikits/openopt/examples/lsp_1.py", 
>> line 45, in <module>
>>      r = p.solve('scipy_leastsq', plot=1, iprint = -1)
>>    File 
>> "build/bdist.linux-x86_64/egg/scikits/openopt/Kernel/BaseProblem.py", 
>> line 186, in solve
>>    File 
>> "build/bdist.linux-x86_64/egg/scikits/openopt/Kernel/runProbSolver.py", 
>> line 43, in runProbSolver
>> KeyError: 'scipy_leastsq'
>>   
>> Nils
>> _______________________________________________
>> Scipy-dev mailing list
>> Scipy-dev@scipy.org
>> http://projects.scipy.org/mailman/listinfo/scipy-dev
>>
>>
>>
>>   
>>     
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>   


More information about the Scipy-dev mailing list