installing numpy with Python2.5 already present

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'

On Sat, Jan 3, 2009 at 2:11 PM, Mike Landis <mlandis001@comcast.net> wrote:
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: ... ValueError: invalid version number '2.18.50.20080625'
This is a bug in python. Really, you should use the binaries as recommended previously - it will take one minute, and that's how the vast majority of windows users install numpy. David

On Sat, Jan 3, 2009 at 12:24 AM, David Cournapeau <cournape@gmail.com> wrote:
On Sat, Jan 3, 2009 at 2:11 PM, Mike Landis <mlandis001@comcast.net> wrote:
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: ... ValueError: invalid version number '2.18.50.20080625'
This is a bug in python. Really, you should use the binaries as recommended previously - it will take one minute, and that's how the vast majority of windows users install numpy.
David _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
From your error message, I would think that python distutils finds your cygwin installation, instead I would hide it by removing it from
I'm working only on Windows, and I never had any problems with the numpy installer. And until recently, I never tried to build it myself. It is easier to install additional packages once numpy, and numpy distutils are properly set up. One problem on Windows is to get the path correct, when I'm building scipy or scikits or any other package with C-extension, I only use MinGW, and I don't have cygwin installed. On my old computer I had cygwin, and I read stories that you shouldn't have cygwin on the Windows path, since some programs got confused with conflicting Windows and cygwin versions. Just a guess: the windows path and work only with MingW. Josef
participants (3)
-
David Cournapeau
-
josef.pktd@gmail.com
-
Mike Landis