[Numpy-discussion] installing numpy with Python2.5 already present

Mike Landis mlandis001@comcast....
Fri Jan 2 23:11:11 CST 2009


This time I included both ATLAS and MKL in the site.cfg file and got 
a little further...  D:\temp\numpy-1.2.1\site.cfg now looks like:

[atlas]
library_dirs = d:\Docs\ATLAS\build\lib
atlas_libs = lapack, f77blas, cblas, atlas

[mkl]
include_dirs = D:\Programs\Intel\MKL\10.1.0.018\include
library_dirs = D:\Programs\Intel\MKL\10.1.0.018\ia32\lib
mkl_libs = mkl_ia32, mkl_c_dll, libguide40
lapack_libs = mkl_lapack
-----------------------------------------------------------------------------------
FOUND a few more things...  though still having problems finding 
blas_opt_info, blas_mkl_info (even though it finds MKL 
later???)  Install log follows...
-----------------------------------------------------------------------------------
Running from numpy source directory.
F2PY Version 2_5972
blas_opt_info:
blas_mkl_info:
   libraries mkl_ia32,mkl_c_dll,libguide40 not found in 
D:\Programs\Intel\MKL\10.1.0.018\ia32\lib
   NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
   FOUND:
     libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
     library_dirs = ['d:\\Docs\\ATLAS\\build\\lib']
     language = c

No module named msvccompiler in numpy.distutils; trying from distutils
   FOUND:
     libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
     library_dirs = ['d:\\Docs\\ATLAS\\build\\lib']
     language = c
     define_macros = [('ATLAS_INFO', '"\\"?.?.?\\""')]

lapack_opt_info:
lapack_mkl_info:
mkl_info:
   libraries mkl_ia32,mkl_c_dll,libguide40 not found in 
D:\Programs\Intel\MKL\10.1.0.018\ia32\lib
   NOT AVAILABLE

   NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
   libraries lapack_atlas not found in d:\Docs\ATLAS\build\lib
numpy.distutils.system_info.atlas_threads_info
Setting PTATLAS=ATLAS
d:\temp\numpy-1.2.1\numpy\distutils\system_info.py:955: UserWarning:
*********************************************************************
     Lapack library (from ATLAS) is probably incomplete:
       size of d:\Docs\ATLAS\build\lib\liblapack.a is 251k (expected >4000k)

     Follow the instructions in the KNOWN PROBLEMS section of the file
     numpy/INSTALL.txt.
*********************************************************************

   warnings.warn(message)
Setting PTATLAS=ATLAS
   FOUND:
     libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
     library_dirs = ['d:\\Docs\\ATLAS\\build\\lib']
     language = c

No module named msvccompiler in numpy.distutils; trying from distutils
   FOUND:
     libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
     library_dirs = ['d:\\Docs\\ATLAS\\build\\lib']
     language = c
     define_macros = [('ATLAS_INFO', '"\\"?.?.?\\""')]

could not resolve pattern in '': '*.txt'
non-existing path in '': 'COMPATIBILITY'
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands 
--compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands 
--fcompiler options
running build_src
building py_modules sources
building extension "numpy.core.multiarray" sources
   adding 'build\src.win32-2.5\numpy\core\include/numpy\config.h' to sources.
   adding 
'build\src.win32-2.5\numpy\core\include/numpy\numpyconfig.h' to sources.
executing numpy\core\code_generators\generate_numpy_api.py
   adding 
'build\src.win32-2.5\numpy\core\include/numpy\__multiarray_api.h' to sources.
   adding 'build\src.win32-2.5\numpy\core\src' to include_dirs.
numpy.core - nothing done with h_files = 
['build\\src.win32-2.5\\numpy\\core\\src\\scalartypes.inc', 
'build\\src.win32-2.5\\numpy\\core\\src\\arraytypes.inc', 
'build\\src.win32-2.5\\numpy\\core\\include/numpy\\config.h', 
'build\\src.win32-2.5\\numpy\\core\\include/numpy\\numpyconfig.h', 
'build\\src.win32-2.5\\numpy\\core\\include/numpy\\__multiarray_api.h']
building extension "numpy.core.umath" sources
   adding 'build\src.win32-2.5\numpy\core\include/numpy\config.h' to sources.
   adding 
'build\src.win32-2.5\numpy\core\include/numpy\numpyconfig.h' to sources.
executing numpy\core\code_generators\generate_ufunc_api.py
   adding 
'build\src.win32-2.5\numpy\core\include/numpy\__ufunc_api.h' to sources.
   adding 'build\src.win32-2.5\numpy\core\src' to include_dirs.
numpy.core - nothing done with h_files = 
['build\\src.win32-2.5\\numpy\\core\\src\\scalartypes.inc', 
'build\\src.win32-2.5\\numpy\\core\\src\\arraytypes.inc', 
'build\\src.win32-2.5\\numpy\\core\\include/numpy\\config.h', 
'build\\src.win32-2.5\\numpy\\core\\include/numpy\\numpyconfig.h', 
'build\\src.win32-2.5\\numpy\\core\\include/numpy\\__ufunc_api.h']
building extension "numpy.core._sort" sources
   adding 'build\src.win32-2.5\numpy\core\include/numpy\config.h' to sources.
   adding 
'build\src.win32-2.5\numpy\core\include/numpy\numpyconfig.h' to sources.
executing numpy\core\code_generators\generate_numpy_api.py
   adding 
'build\src.win32-2.5\numpy\core\include/numpy\__multiarray_api.h' to sources.
numpy.core - nothing done with h_files = 
['build\\src.win32-2.5\\numpy\\core\\include/numpy\\config.h', 
'build\\src.win32-2.5\\numpy\\core\\include/numpy\\numpyconfig.h', 
'build\\src.win32-2.5\\numpy\\core\\include/numpy\\__multiarray_api.h']
building extension "numpy.core.scalarmath" sources
   adding 'build\src.win32-2.5\numpy\core\include/numpy\config.h' to sources.
   adding 
'build\src.win32-2.5\numpy\core\include/numpy\numpyconfig.h' to sources.
executing numpy\core\code_generators\generate_numpy_api.py
   adding 
'build\src.win32-2.5\numpy\core\include/numpy\__multiarray_api.h' to sources.
executing numpy\core\code_generators\generate_ufunc_api.py
   adding 
'build\src.win32-2.5\numpy\core\include/numpy\__ufunc_api.h' to sources.
numpy.core - nothing done with h_files = 
['build\\src.win32-2.5\\numpy\\core\\include/numpy\\config.h', 
'build\\src.win32-2.5\\numpy\\core\\include/numpy\\numpyconfig.h', 
'build\\src.win32-2.5\\numpy\\core\\include/numpy\\__multiarray_api.h', 
'build\\src.win32-2.5\\numpy\\core\\include/numpy\\__ufunc_api.h']
building extension "numpy.core._dotblas" sources
   adding 'numpy\core\blasdot\_dotblas.c' to sources.
building extension "numpy.lib._compiled_base" sources
building extension "numpy.numarray._capi" sources
building extension "numpy.fft.fftpack_lite" sources
building extension "numpy.linalg.lapack_lite" sources
### Warning:  python_xerbla.c is disabled ###
   adding 'numpy\linalg\lapack_litemodule.c' to sources.
building extension "numpy.random.mtrand" sources
Traceback (most recent call last):
   File "setup.py", line 96, in <module>
     setup_package()
   File "setup.py", line 89, in setup_package
     configuration=configuration )
   File 
"D:\Programs\Python25\Lib\site-packages\numpy-1.2.1\numpy\distutils\core.py", 
line 184, in setup
   File "d:\programs\python25\lib\distutils\core.py", line 151, in setup
     dist.run_commands()
   File "d:\programs\python25\lib\distutils\dist.py", line 974, in run_commands
     self.run_command(cmd)
   File "d:\programs\python25\lib\distutils\dist.py", line 994, in run_command
     cmd_obj.run()
   File 
"D:\Programs\Python25\Lib\site-packages\numpy-1.2.1\numpy\distutils\command\install.py", 
line 49, in run
   File "d:\programs\python25\lib\distutils\command\install.py", line 
506, in run
     self.run_command('build')
   File "d:\programs\python25\lib\distutils\cmd.py", line 333, in run_command
     self.distribution.run_command(command)
   File "d:\programs\python25\lib\distutils\dist.py", line 994, in run_command
     cmd_obj.run()
   File 
"D:\Programs\Python25\Lib\site-packages\numpy-1.2.1\numpy\distutils\command\build.py", 
line 37, in run
   File "d:\programs\python25\lib\distutils\command\build.py", line 112, in run
     self.run_command(cmd_name)
   File "d:\programs\python25\lib\distutils\cmd.py", line 333, in run_command
     self.distribution.run_command(command)
   File "d:\programs\python25\lib\distutils\dist.py", line 994, in run_command
     cmd_obj.run()
   File 
"D:\Programs\Python25\Lib\site-packages\numpy-1.2.1\numpy\distutils\command\build_src.py", 
line 130, in run
   File 
"D:\Programs\Python25\Lib\site-packages\numpy-1.2.1\numpy\distutils\command\build_src.py", 
line 147, in build_sources
   File 
"D:\Programs\Python25\Lib\site-packages\numpy-1.2.1\numpy\distutils\command\build_src.py", 
line 250, in build_extension_sources
   File 
"D:\Programs\Python25\Lib\site-packages\numpy-1.2.1\numpy\distutils\command\build_src.py", 
line 307, in generate_sources
   File "numpy\random\setup.py", line 11, in generate_libraries
     if config_cmd.try_run(tc):
   File "d:\programs\python25\lib\distutils\command\config.py", line 
278, in try_run
     self._check_compiler()
   File 
"D:\Programs\Python25\Lib\site-packages\numpy-1.2.1\numpy\distutils\command\config.py", 
line 26, in _check_compiler
   File "d:\programs\python25\lib\distutils\command\config.py", line 
107, in _check_compiler
     dry_run=self.dry_run, force=1)
   File 
"D:\Programs\Python25\Lib\site-packages\numpy-1.2.1\numpy\distutils\ccompiler.py", 
line 366, in new_compiler
   File 
"D:\Programs\Python25\Lib\site-packages\numpy-1.2.1\numpy\distutils\mingw32ccompiler.py", 
line 46, in __init__
   File "d:\programs\python25\lib\distutils\cygwinccompiler.py", line 
84, in __init__
     get_versions()
   File "d:\programs\python25\lib\distutils\cygwinccompiler.py", line 
424, in get_versions
     ld_version = StrictVersion(result.group(1))
   File "d:\programs\python25\lib\distutils\version.py", line 40, in __init__
     self.parse(vstring)
   File "d:\programs\python25\lib\distutils\version.py", line 107, in parse
     raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '2.18.50.20080625'



More information about the Numpy-discussion mailing list