AttributeError: 'scipy' module has no attribute 'names2all'
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 ? Nils
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
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@scipy.net http://www.scipy.net/mailman/listinfo/scipy-user
On Tue, 21 May 2002, Nils Wagner wrote:
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 ?
You should also remove /usr/local/lib/python2.1/site-packages/scipy Or you should check were scipy actually gets installed. May be its different Python version, etc. Note that cd /path/to/cvs/scipy && grep -r names2all * shows no occurances of names2all. Pearu
participants (2)
-
Nils Wagner
-
Pearu Peterson