[SciPy-user] No module named optimize

Nils Wagner nwagner at mecha.uni-stuttgart.de
Wed Feb 27 09:47:27 CST 2002

Hi all,

I can't import optimize that is

Python 2.1.2 (#1, Feb 25 2002, 18:04:21)
[GCC 2.95.3 20010315 (SuSE)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> from scipy import *
>>> help(optimize)
 Optimization Tools

A collection of general-purpose optimization routines.

  fmin --       Nelder-Mead Simplex algorithm
                (uses only function calls)
  fmin_bfgs --  Quasi-Newton method (can use function and gradient)
  fmin_ncg --   Line-search Newton Conjugate Gradient (can use
                function, gradient and hessian).
  leastsq --    Minimize the sum of squares of M equations in
                N unknowns given a starting estimate.
  fminbound --  Bounded minimization of a scalar function.
  fsolve --     Non-linear multi-variable equation solver.
  newton --     Single-variable function root finder.
  fixed_point -- Single-variable fixed-point solver.

>>> from optimize import fsolve
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named optimize

Any suggestion ?


More information about the SciPy-user mailing list