[SciPy-user] scipy.optimize.leastsq error estimates

Chiara Caronna chiaracaronna at hotmail.com
Wed Feb 14 08:48:16 EST 2007




>From: Nils Wagner <nwagner at iam.uni-stuttgart.de>
>Reply-To: SciPy Users List <scipy-user at scipy.org>
>To: SciPy Users List <scipy-user at scipy.org>
>Subject: Re: [SciPy-user] scipy.optimize.leastsq error estimates
>Date: Wed, 14 Feb 2007 14:42:51 +0100
>
>Chiara Caronna wrote:
> > Ok, the error I got is this:
> >
> >
> >>>> import scipy.odr
> >>>>
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> >   File "/usr/local/lib/python2.4/site-packages/scipy/odr/__init__.py", 
>line
> > 49, in
> > ?
> >     import odrpack
> >   File "/usr/local/lib/python2.4/site-packages/scipy/odr/odrpack.py", 
>line
> > 103, in
> > ?
> >     from scipy.sandbox.odr import __odrpack
> > ImportError: No module named odr
> >
> > can you check you file :
> > "/usr/local/lib/python2.4/site-packages/scipy/odr/odrpack.py" at  line 
>103?
> > I think the problem is that it tries to import something from
> > scipy.sandbox.odr that doesn't exist...
> >
> >
> >
>I have
>from scipy.odr import __odrpack
>

I changed my "from scipy.sandbox.odr import __odrpack" into  "from scipy.odr 
import __odrpack" and now it works... I'll see if this works fine now, other 
wise I'll try to reinstall everything. Thank's a lot for  your help!

Chiara
>What is the output of
>
>scipy.__version__
>
>on your machine ?
>
>I suggest to remove the build directory and scipy below site-packages with
>
>rm -rf build
>rm -rf scipy
>
>Afterwards reinstall everything from scratch with
>
>python setput.py install
>
>HTH
>
>Nils
>
>
>_______________________________________________
>SciPy-user mailing list
>SciPy-user at scipy.org
>http://projects.scipy.org/mailman/listinfo/scipy-user

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/




More information about the SciPy-User mailing list