Daniel Wolff | 4 Oct 20:12

cannot find numpy 1.2 for python 2.6 on window

Hello, I recently upgraded to python 2.6. I cannot seem to find the appropriate numpy install file. I tried to make use of the .exe built for python 2.5 but the installer hung. Any suggestions? Regards, Daniel

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion <at> scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Robert Kern | 5 Oct 01:28

Re: cannot find numpy 1.2 for python 2.6 on window

On Sat, Oct 4, 2008 at 13:14, Daniel Wolff <daniel.wolff <at> gmail.com> wrote:
> Hello, I recently upgraded to python 2.6. I cannot seem to find the
> appropriate numpy install file. I tried to make use of the .exe built for
> python 2.5 but the installer hung. Any suggestions? Regards, Daniel

Right, you can't use a binary installer meant for Python 2.5 with
Python 2.6. The binaries aren't compatible. If you do not want to
build from source, you will have to wait for the volunteer
binary-builders to get around to making a Python 2.6 installer.

--

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco
Alan McIntyre | 5 Oct 01:28

Re: cannot find numpy 1.2 for python 2.6 on window

On Sat, Oct 4, 2008 at 11:14 AM, Daniel Wolff <daniel.wolff <at> gmail.com> wrote:
> Hello, I recently upgraded to python 2.6. I cannot seem to find the
> appropriate numpy install file. I tried to make use of the .exe built for
> python 2.5 but the installer hung. Any suggestions? Regards, Daniel

Hi Daniel,

Last I heard, there are still some things that need to be ironed out
for NumPy on Python 2.6, so you will probably have to stick with 2.5
for a while.  (Somebody please correct me if I'm wrong and there's an
imminent release for 2.6 coming up ;)

Cheers,
Alan
Hanni Ali | 5 Oct 11:38
Gravatar

Re: cannot find numpy 1.2 for python 2.6 on window

Hi Alan,

I've been using numpy with 2.6 on amd64 for about 3 months no problem and far more stable on 64-bit than the same combination with 2.5.

Daniel, just download the source and compile it yourself. You need to use VS 9.0 for best compatibility with Python and I haven't yet sorted out fast blas I've just been using the internal numpy one.

Hanni



2008/10/5 Alan McIntyre <alan.mcintyre <at> gmail.com>
On Sat, Oct 4, 2008 at 11:14 AM, Daniel Wolff <daniel.wolff <at> gmail.com> wrote:
> Hello, I recently upgraded to python 2.6. I cannot seem to find the
> appropriate numpy install file. I tried to make use of the .exe built for
> python 2.5 but the installer hung. Any suggestions? Regards, Daniel

Hi Daniel,

Last I heard, there are still some things that need to be ironed out
for NumPy on Python 2.6, so you will probably have to stick with 2.5
for a while.  (Somebody please correct me if I'm wrong and there's an
imminent release for 2.6 coming up ;)

Cheers,
Alan
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion <at> scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion <at> scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
David Cournapeau | 5 Oct 11:42

Re: cannot find numpy 1.2 for python 2.6 on window

On Sun, Oct 5, 2008 at 8:28 AM, Alan McIntyre <alan.mcintyre <at> gmail.com> wrote:
> On Sat, Oct 4, 2008 at 11:14 AM, Daniel Wolff <daniel.wolff <at> gmail.com> wrote:
>> Hello, I recently upgraded to python 2.6. I cannot seem to find the
>> appropriate numpy install file. I tried to make use of the .exe built for
>> python 2.5 but the installer hung. Any suggestions? Regards, Daniel
>
> Hi Daniel,
>
> Last I heard, there are still some things that need to be ironed out
> for NumPy on Python 2.6, so you will probably have to stick with 2.5
> for a while.  (Somebody please correct me if I'm wrong and there's an
> imminent release for 2.6 coming up ;)

One thing which was a relatively major stopper was nose, our test
infrastructure, was not 2.6 compatible, but that has just changed. I
will look on windows to see if 1.2 can be built with 2008 express,

cheers,

David
Hanni Ali | 5 Oct 14:08
Gravatar

Re: cannot find numpy 1.2 for python 2.6 on window

Hi David,

Yeah nose was an issue, thanks for letting me know about nose compatibility being sorted that's good news as I use it a bit with my testing.

I last built 1.1.1 with express for 32bit it went fine (although I think you do have to comment out , I was also able to compile with 2008 full for 64-bit platform, my next goal is to see if i can sort out blas etc. external libs on 64bit.

From the "Installation info" thread around the 30th May I had reported the one oddity I  had encountered with the VS compiler

> In order to get numpy to compile I
> have commented out a small part which was causing compilation to fail:
>
> numpy\core\src\umathmodule.c.
src(64) : error C2059: syntax error : 'type'
> numpy\core\src\umathmodule.c.src(70) : error C2059: syntax error : 'type'
>
> This relates to this section of code:
>
> #ifndef HAVE_FREXPF
> static float frexpf(float x, int * i)
> {
>     return (float)frexp((double)(x), i);
> }
> #endif
> #ifndef HAVE_LDEXPF
> static float ldexpf(float x, int i)
> {
>     return (float)ldexp((double)(x), i);
> }
> #endif

At the time I had tried to send further output following a checkout, but couldn't get it to post to the list, I think the message was too big or something. I will probably be having a go with 1.2.0, when I get some time. I'll let you know how it goes.

Cheers,

Hanni


2008/10/5 David Cournapeau <cournape <at> gmail.com>
On Sun, Oct 5, 2008 at 8:28 AM, Alan McIntyre <alan.mcintyre <at> gmail.com> wrote:
> On Sat, Oct 4, 2008 at 11:14 AM, Daniel Wolff <daniel.wolff <at> gmail.com> wrote:
>> Hello, I recently upgraded to python 2.6. I cannot seem to find the
>> appropriate numpy install file. I tried to make use of the .exe built for
>> python 2.5 but the installer hung. Any suggestions? Regards, Daniel
>
> Hi Daniel,
>
> Last I heard, there are still some things that need to be ironed out
> for NumPy on Python 2.6, so you will probably have to stick with 2.5
> for a while.  (Somebody please correct me if I'm wrong and there's an
> imminent release for 2.6 coming up ;)

One thing which was a relatively major stopper was nose, our test
infrastructure, was not 2.6 compatible, but that has just changed. I
will look on windows to see if 1.2 can be built with 2008 express,

cheers,

David
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion <at> scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion <at> scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
David Cournapeau | 5 Oct 15:07

Re: cannot find numpy 1.2 for python 2.6 on window

Hanni Ali wrote:
> Hi David,
>
> Yeah nose was an issue, thanks for letting me know about nose
> compatibility being sorted that's good news as I use it a bit with my
> testing.
>
> I last built 1.1.1 with express for 32bit it went fine (although I
> think you do have to comment out , I was also able to compile with
> 2008 full for 64-bit platform, my next goal is to see if i can sort
> out blas etc. external libs on 64bit.

That's the major difficulty: no open source blas/lapack (that I am aware
of) are buildable with MS compilers, and there is no official open
source compiler (mingw) on 64 bits. Also, cygwin itself is not available
in 64 bits (only available on WOW, the windows subsystem to run 32 bits
on 64 bits OS).

Atlas, in particular, is not buildable for 64 bits windows AFAIK.
>
>
> >
> > #ifndef HAVE_FREXPF
> > static float frexpf(float x, int * i)
> > {
> >     return (float)frexp((double)(x), i);
> > }
> > #endif
> > #ifndef HAVE_LDEXPF
> > static float ldexpf(float x, int i)
> > {
> >     return (float)ldexp((double)(x), i);
> > }
> > #endif
>
> At the time I had tried to send further output following a checkout,
> but couldn't get it to post to the list, I think the message was too
> big or something. I will probably be having a go with 1.2.0, when I
> get some time. I'll let you know how it goes.

I did some heavy refactoring for the above problems, and it should be
now easier to handle (in the trunk). I could build 1.2.0 with VS 2008
express on 32 bits (wo blas/lapack), and there are some test errors -
albeit relatively minor at first sight. I have not tried on 64 bits.

cheers,

David

Gmane