[SciPy-dev] Make numpy.distutils work with python 2.5 + cygwin

Ravikiran Rajagopal ravi.rajagopal@amd....
Wed May 30 13:56:11 CDT 2007


On Wednesday 30 May 2007 2:30:00 pm Robert Kern wrote:
> Can you copy-and-paste the full output? We can't tell what's wrong from
> your description. Also, which version of numpy are you trying to build?

I am trying to build numpy svn version from a couple of hours ago. I am 
running python 2.5.1, cygwin updated on monday, self-built lapack 3.1.1 and 
atlas 3.7.32. The error log is as follows:

$ python setup.py config --compiler=mingw32 build --compiler=mingw32
Running from numpy source directory.
F2PY Version 2_3842
blas_opt_info:
blas_mkl_info:
  libraries mkl,vml,guide not found in c:\python25\lib
  libraries mkl,vml,guide not found in C:\
  libraries mkl,vml,guide not found in c:\python25\libs
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
  FOUND:
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['c:/cygwin/home/rrajagop/scipylibs/atlas-build/lib']
    language = c

No module named msvccompiler in numpy.distutils; trying from distutils
  FOUND:
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['c:/cygwin/home/rrajagop/scipylibs/atlas-build/lib']
    language = c
    define_macros = [('ATLAS_INFO', '"\\"?.?.?\\""')]

lapack_opt_info:
lapack_mkl_info:
mkl_info:
  libraries mkl,vml,guide not found in c:\python25\lib
  libraries mkl,vml,guide not found in C:\
  libraries mkl,vml,guide not found in c:\python25\libs
  NOT AVAILABLE

  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
numpy.distutils.system_info.atlas_threads_info
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
  FOUND:
    libraries = ['lapack', 'lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['c:/cygwin/home/rrajagop/scipylibs/atlas-build/lib']
    language = f77

No module named msvccompiler in numpy.distutils; trying from distutils
  FOUND:
    libraries = ['lapack', 'lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['c:/cygwin/home/rrajagop/scipylibs/atlas-build/lib']
    language = f77
    define_macros = [('ATLAS_INFO', '"\\"?.?.?\\""')]

running config
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler 
opti
ons
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler 
opt
ions
running build_src
building py_modules sources
building extension "numpy.core.multiarray" sources
Generating build\src.win32-2.5\numpy\core\config.h
0
1
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible 
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.






More information about the Scipy-dev mailing list