[SciPy-user] Windows build help

Gary pajer at iname.com
Tue Nov 21 19:53:33 EST 2006


Robert Kern wrote:
> Gary wrote:
>
>> No luck.  It must be something silly.
>>
>> Here's my complete site.cfg, fwiw
>>
>> [atlas]
>> library_dirs = c:\MinGW\lib\atlas
>> atlas_libs = lapack, blas, cblas, atlas
>>
>> [blas]
>> library_dirs = c:\MinGW\lib\atlas
>> blas_libs = cblas
>>
>> [lapack]
>> library_dirs = c:\MinGW\lib\atlas
>> lapack_libs = lapack
>>
>> [lapack_opt]
>> library_dirs=c:/MinGW/lib/atlas
>> libraries=lapack,f77blas,cblas,atlas
>>
>> [blas_opt]
>> library_dirs=c:/MinGW/lib/atlas
>> libraries=f77blas,cblas,atlas
>
> Just use the last two. Don't use the first three, too. They're redundant and
> also incorrect. If that doesn't work, please post the output of "python setup.py
> config".
That made it quit faster:

C:\Documents and Settings\Gary\My 
Documents\python\scipy\svn_scipy>python setup.
py config
mkl_info:
  libraries mkl,vml,guide not found in c:\python24\lib
  libraries mkl,vml,guide not found in C:\
  libraries mkl,vml,guide not found in c:\python24\libs
  NOT AVAILABLE

fftw3_info:
  libraries fftw3 not found in c:\python24\lib
  libraries fftw3 not found in C:\
  libraries fftw3 not found in c:\python24\libs
  fftw3 not found
  NOT AVAILABLE

fftw2_info:
  libraries rfftw,fftw not found in c:\python24\lib
  libraries rfftw,fftw not found in C:\
  libraries rfftw,fftw not found in c:\python24\libs
  fftw2 not found
  NOT AVAILABLE

dfftw_info:
  libraries drfftw,dfftw not found in c:\python24\lib
  libraries drfftw,dfftw not found in C:\
  libraries drfftw,dfftw not found in c:\python24\libs
  dfftw not found
  NOT AVAILABLE

djbfft_info:
  NOT AVAILABLE

blas_opt_info:
blas_mkl_info:
  libraries mkl,vml,guide not found in c:\python24\lib
  libraries mkl,vml,guide not found in C:\
  libraries mkl,vml,guide not found in c:\python24\libs
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries lapack,blas,cblas,atlas not found in C:\MinGW\lib\atlas
  libraries lapack,blas,cblas,atlas not found in c:\MinGW\lib\atlas
  libraries lapack,blas,cblas,atlas not found in c:\python24\lib
  libraries lapack,blas,cblas,atlas not found in C:\
  libraries lapack,blas,cblas,atlas not found in c:\python24\libs
  NOT AVAILABLE

atlas_blas_info:
  libraries lapack,blas,cblas,atlas not found in C:\MinGW\lib\atlas
  libraries lapack,blas,cblas,atlas not found in c:\MinGW\lib\atlas
  libraries lapack,blas,cblas,atlas not found in c:\python24\lib
  libraries lapack,blas,cblas,atlas not found in C:\
  libraries lapack,blas,cblas,atlas not found in c:\python24\libs
  NOT AVAILABLE

c:\python24\lib\site-packages\numpy\distutils\system_info.py:1301: 
UserWarning:

    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
blas_info:
  libraries blas not found in c:\python24\lib
  libraries blas not found in C:\
  libraries blas not found in c:\python24\libs
  NOT AVAILABLE

c:\python24\lib\site-packages\numpy\distutils\system_info.py:1310: 
UserWarning:

    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  warnings.warn(BlasNotFoundError.__doc__)
blas_src_info:
  NOT AVAILABLE

c:\python24\lib\site-packages\numpy\distutils\system_info.py:1313: 
UserWarning:

    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  warnings.warn(BlasSrcNotFoundError.__doc__)
Traceback (most recent call last):
  File "setup.py", line 55, in ?
    setup_package()
  File "setup.py", line 47, in setup_package
    configuration=configuration )
  File "C:\Python24\Lib\site-packages\numpy\distutils\core.py", line 
144, in set
up
    config = configuration()
  File "setup.py", line 19, in configuration
    config.add_subpackage('Lib')
  File "C:\Python24\Lib\site-packages\numpy\distutils\misc_util.py", 
line 765, i
n add_subpackage
    caller_level = 2)
  File "C:\Python24\Lib\site-packages\numpy\distutils\misc_util.py", 
line 748, i
n get_subpackage
    caller_level = caller_level + 1)
  File "C:\Python24\Lib\site-packages\numpy\distutils\misc_util.py", 
line 695, i
n _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File ".\Lib\setup.py", line 7, in configuration
    config.add_subpackage('integrate')
  File "C:\Python24\Lib\site-packages\numpy\distutils\misc_util.py", 
line 765, i
n add_subpackage
    caller_level = 2)
  File "C:\Python24\Lib\site-packages\numpy\distutils\misc_util.py", 
line 748, i
n get_subpackage
    caller_level = caller_level + 1)
  File "C:\Python24\Lib\site-packages\numpy\distutils\misc_util.py", 
line 695, i
n _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "Lib\integrate\setup.py", line 11, in configuration
    blas_opt = get_info('blas_opt',notfound_action=2)
  File "C:\Python24\Lib\site-packages\numpy\distutils\system_info.py", 
line 256,
 in get_info
    return cl().get_info(notfound_action)
  File "C:\Python24\Lib\site-packages\numpy\distutils\system_info.py", 
line 403,
 in get_info
    raise self.notfounderror,self.notfounderror.__doc__
numpy.distutils.system_info.NotFoundError: Some third-party program or 
library i
s not found.






More information about the SciPy-User mailing list