Re: [Numpy-discussion] numpy build on windows

2008-09-10 Thread Miroslav Sabljic
On 9/5/08, David Cournapeau [EMAIL PROTECTED] wrote: You should first test the binary (import numpy; numpy.test()), to see whether the built was really sucessful. Hy again! :) I've managed to build numpy and install it. 'import numpy' works OK, numpy.show_config() looks OK, but when I try tu

Re: [Numpy-discussion] numpy build on windows

2008-09-05 Thread Matthieu Brucher
The error you are seeing may indicate that it is not possible to build python 2.5 extensions with VS 2008 with distutils (the message says distutils did not detect VS 2008 installation, and that may well be caused by distutils not knowing how to deal with VS 2008). You may be right, I

Re: [Numpy-discussion] numpy build on windows

2008-09-05 Thread David Cournapeau
Matthieu Brucher wrote: You may be right, I remember that VS2003 is hardcoded in some places in distutils. I think I ran into this issue some months ago as well. Mmmh, wonder if I could get around that in numscons :) cheers, David ___

Re: [Numpy-discussion] numpy build on windows

2008-09-05 Thread Francesc Alted
A Friday 05 September 2008, David Cournapeau escrigué: Matthieu Brucher wrote: You may be right, I remember that VS2003 is hardcoded in some places in distutils. I think I ran into this issue some months ago as well. Mmmh, wonder if I could get around that in numscons :) IIRC, Python 2.4

Re: [Numpy-discussion] numpy build on windows

2008-09-05 Thread David Cournapeau
Francesc Alted wrote: IIRC, Python 2.4 and 2.5 only supports the VS2003 of the MS series of compilers. With Python 2.6 and 3.0 I think that VS2008 will be the one supported. Yes, but that's just stupid when you think about it. I mean, the python code to deal with VS 2008 is there, so

Re: [Numpy-discussion] numpy build on windows

2008-09-05 Thread Miroslav Sabljic
On 9/5/08, David Cournapeau [EMAIL PROTECTED] wrote: First, you are trying to build with numpy 1.0.2, which is really old. Update to a more recent version. Yes, 1.0.2 is the version we are using on Linux so I went with that one. I will try newer version. The error you are seeing may

Re: [Numpy-discussion] numpy build on windows

2008-09-05 Thread David Cournapeau
Miroslav Sabljic wrote: The build log is in attachment. Now I just have to see about this error message I'm getting, don't know how to compile Fortran code on platform 'nt'. This is not an error per se: fortran compiler is not mandatory. You will not get all the features of numpy, but you

Re: [Numpy-discussion] numpy build on windows

2008-09-05 Thread Miroslav Sabljic
On 9/5/08, David Cournapeau [EMAIL PROTECTED] wrote: This is not an error per se: fortran compiler is not mandatory. You will not get all the features of numpy, but you will get a working numpy without a fortran compiler. Looking at your build.log, it looks like it built successfully, no ?

Re: [Numpy-discussion] numpy build on windows

2008-09-05 Thread David Cournapeau
Miroslav Sabljic wrote: Yes it looks so, but as this is first time I'm building numpy I wasn't sure. I will now experiment further and try to build it with MKL. Tnx for your help, I really appreciate it! You should first test the binary (import numpy; numpy.test()), to see whether the

[Numpy-discussion] numpy build on windows

2008-09-04 Thread Miroslav Sabljic
Hy people! I'm quite a newbie regarding numpy so please excuse if I'm asking stupid questions. I need to build Python and couple of his site-packages on Windows using Visual studio 2008. I've built Python 2.5.1 and now it's turn to build numpy and I'm quite stuck because numpy build process is a

Re: [Numpy-discussion] numpy build on windows

2008-09-04 Thread David Cournapeau
Miroslav Sabljic wrote: Hy people! I'm quite a newbie regarding numpy so please excuse if I'm asking stupid questions. No stupid question. Stupid answer may follow, though... I need to build Python and couple of his site-packages on Windows using Visual studio 2008. I've built Python

Re: [Numpy-discussion] numpy build on windows

2008-09-04 Thread Miroslav Sabljić
David Cournapeau wrote: Ok, you are building on windows, with a custom python, on windows 64 bits, with MKL... That's a lot at the same time. I'm building it with custom Python (built with VS 2008) on Win32. It is a lot for me but I just have to do it and learn as much as posible during the

Re: [Numpy-discussion] numpy build on windows

2008-09-04 Thread David Cournapeau
On Fri, Sep 5, 2008 at 2:30 AM, Miroslav Sabljić [EMAIL PROTECTED] wrote: David Cournapeau wrote: Ok, you are building on windows, with a custom python, on windows 64 bits, with MKL... That's a lot at the same time. I'm building it with custom Python (built with VS 2008) on Win32. It is a

Re: [Numpy-discussion] numpy build on windows

2008-09-04 Thread Miroslav Sabljić
David Cournapeau wrote: From scipy.org ? If you understood you have to use the MLK, then we have to improve the documentation (the installation pages are a mess ATM). It is certainly no mandatory. Yeah, from scipy.org. Do you have to use VS 2008 ? Building python on windows is not easy