Wei wrote:
Hi,
I just got my new intel core duo laptop. So I downloaded the new cygwin (including everything) but couldn’t get the numarray or numpy modules installed correctly. I always got the following error. Can some one help?
Many thanks!
Wei
python setup.py install
Using EXTRA_COMPILE_ARGS = []
Using builtin 'lite' BLAS and LAPACK
running config
Wrote config.h
running install
running build
running build_py
copying Lib/numinclude.py -> build/lib.cygwin-1.5.22-i686-2.4/numarray
running build_ext
building 'numarray.libnumarray' extension
gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.5.22-i686-2.4/Src/libnumarraymodule.o -L/usr/lib/python2.4/config -lpython2.4 -o build/lib.cygwin-1.5.22-i686-2.4/numarray/libnumarray.dll -lm -L/lib -lm -lc -lgcc -L/lib/mingw -lmingwex
/lib/mingw/libmingwex.a(feclearexcept.o):feclearexcept.c:(.text+0x21): undefined reference to `___cpu_features'
/lib/mingw/libmingwex.a(fetestexcept.o):fetestexcept.c:(.text+0x7): undefined reference to `___cpu_features'
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
You don't need cygwin to install NumPy. I use the mingw compiler to compile windows binaries. This error looks like a problem with the platform-dependent code, but it's showing up in an odd place. I'm not sure what the issue is. -Travis