[SciPy-user] AttributeError: 'scipy' module has no attribute'names2all'

Nils Wagner nwagner at mecha.uni-stuttgart.de
Tue May 21 11:33:30 EDT 2002


Pearu Peterson schrieb:
> 
> On Tue, 21 May 2002, Nils Wagner wrote:
> 
> > Hi all,
> >
> > I have build and installed the latest scipy via cvs.
> > Again, there is a problem ...
> >
> >
> > Traceback (most recent call last):
> >   File "quad.py", line 1, in ?
> >     from scipy import *
> >   File "/usr/local/lib/python2.1/site-packages/scipy/__init__.py", line
> > 56, in ?    import fftw
> >   File "/usr/local/lib/python2.1/site-packages/scipy/fftw/__init__.py",
> > line 6,
> > in ?
> >     scipy.names2all(__all__, _namespaces, globals())
> > AttributeError: 'scipy' module has no attribute 'names2all'
> >
> > Any idea ?
> 
> This looks like your old installation of scipy. For instance, in the
> latest CVS scipy/fftw/__init__.py contains only 5 lines
> 
> """ FFT routines (FFTW) """
> 
> from FFT2 import *
> from fftw import *
> from sfftw import *
> 
> So, remove the old scipy and reinstall the new one.
> 
> Pearu
> 

I have removed the build directory

rm -rf build/

python setup.py build
python setup.py install --force

Again, there is an

AttributeError: 'scipy' module has no attribute 'names2all'

Any idea ?

Nils


> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user



More information about the SciPy-User mailing list