Hi, I have started again, simply executing: >python setup.py install
However, I now get the following: >File "numpy/core/setup.py", line 253, in check_mathlib > raise EnvironmentError("math library missing; rerun " >EnvironmentError: math library missing; rerun setup.py after setting the >MATHLIB >env variable I have a math library from cygwin (libm.a). How should I set this? Thank you, Olivia ----- Original Message ---- > From: David Cournapeau <da...@ar.media.kyoto-u.ac.jp> > To: Discussion of Numerical Python <numpy-discussion@scipy.org> > Sent: Wed, November 18, 2009 9:01:06 AM > Subject: Re: [Numpy-discussion] Installing numpy under cygwin > > Olivia Cheronet wrote: > > Hello. > > > > 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: > > > >> [DEFAULT] > >> library_dirs = /cygdrive/c/cygwin/lib > >> include_dirs = /cygdrive/c/cygwin/usr/local/include > >> [blas_opt] > >> libraries = f77blas, cblas, atlas > >> [lapack_opt] > >> 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 > cygwin build. > > David > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion