[SciPy-Dev] NameError: global name 'atlas_extra_info' is not defined

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Mar 15 15:35:21 CDT 2012


Hi all,

I cannot build numpy

python setup.py install --prefix=$HOME/local
Running from numpy source directory.
F2PY Version 2
numpy/core/setup_common.py:86: MismatchCAPIWarning: API 
mismatch detected, the C API version numbers have to be 
updated. Current C api version is 6, with checksum 
eb54c77ff4149bab310324cd7c0cb176, but recorded checksum 
for C API version 6 in codegen_dir/cversions.txt is 
e61d5dc51fa1c6459328266e215d6987. If functions were added 
in the C API, you have to update C_API_VERSION  in 
numpy/core/setup_common.pyc.
   MismatchCAPIWarning)
blas_opt_info:
blas_mkl_info:
   libraries mkl,vml,guide not found in ['/usr/lib64', 
'/usr/local/lib', 
'/home/nwagner/src/ATLAS3.8.2/mybuild/lib']
   NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
Traceback (most recent call last):
   File "setup.py", line 214, in <module>
     setup_package()
   File "setup.py", line 207, in setup_package
     configuration=configuration )
   File "/home/nwagner/git/numpy/numpy/distutils/core.py", 
line 152, in setup
     config = configuration()
   File "setup.py", line 147, in configuration
     config.add_subpackage('numpy')
   File 
"/home/nwagner/git/numpy/numpy/distutils/misc_util.py", 
line 1002, in add_subpackage
     caller_level = 2)
   File 
"/home/nwagner/git/numpy/numpy/distutils/misc_util.py", 
line 971, in get_subpackage
     caller_level = caller_level + 1)
   File 
"/home/nwagner/git/numpy/numpy/distutils/misc_util.py", 
line 908, in _get_configuration_from_setup_py
     config = setup_module.configuration(*args)
   File "numpy/setup.py", line 9, in configuration
     config.add_subpackage('core')
   File 
"/home/nwagner/git/numpy/numpy/distutils/misc_util.py", 
line 1002, in add_subpackage
     caller_level = 2)
   File 
"/home/nwagner/git/numpy/numpy/distutils/misc_util.py", 
line 971, in get_subpackage
     caller_level = caller_level + 1)
   File 
"/home/nwagner/git/numpy/numpy/distutils/misc_util.py", 
line 908, in _get_configuration_from_setup_py
     config = setup_module.configuration(*args)
   File "numpy/core/setup.py", line 901, in configuration
     blas_info = get_info('blas_opt',0)
   File 
"/home/nwagner/git/numpy/numpy/distutils/system_info.py", 
line 325, in get_info
     return cl().get_info(notfound_action)
   File 
"/home/nwagner/git/numpy/numpy/distutils/system_info.py", 
line 478, in get_info
     self.calc_info()
   File 
"/home/nwagner/git/numpy/numpy/distutils/system_info.py", 
line 1465, in calc_info
     atlas_info = get_info('atlas_blas_threads')
   File 
"/home/nwagner/git/numpy/numpy/distutils/system_info.py", 
line 325, in get_info
     return cl().get_info(notfound_action)
   File 
"/home/nwagner/git/numpy/numpy/distutils/system_info.py", 
line 478, in get_info
     self.calc_info()
   File 
"/home/nwagner/git/numpy/numpy/distutils/system_info.py", 
line 1090, in calc_info
     dict_append(atlas, **atlas_extra_info)
NameError: global name 'atlas_extra_info' is not defined


Nils


More information about the SciPy-Dev mailing list