[Numpy-discussion] Installing numpy under cygwin
Wed Nov 18 03:01:06 CST 2009
Olivia Cheronet wrote:
> I am currently trying to install the latest version of NumPy for my cygwin Python, and I am having problems...
> I have downloaded the source, and unzipped and untarred it in my home directory.
> Subsequently, I included the following in the site.cfg file:
>> library_dirs = /cygdrive/c/cygwin/lib
>> include_dirs = /cygdrive/c/cygwin/usr/local/include
>> libraries = f77blas, cblas, atlas
>> libraries = lapack, f77blas, cblas, atlas
> In the Cygwin bash shell, after going to my home directory, I have executed:
> python setup.py config --compiler=mingw32 build --compiler=mingw32 install
> as instructed in the "Installing SciPy/Windows" page.
If you use cygwin, you should not follow the windows instructions. For
most purposes, cygwin works as unix. In particular, you don't think you
should not use mingw32 build on cygwin. The -mno-cygwin flag appended to
gcc is most likely coming from there, and this looks very wrong for a
More information about the NumPy-Discussion