numpy on windows 64 bit
Hi, I am having some problems with win64 with all my tests failing. I installed amd64 Python from Python.org and numpy and scipy from http://www.lfd.uci.edu/~gohlke/pythonlibs/ I noticed that on windows sys.maxint is the 32bit value (2147483647
Hi Robin,
On Mon, Jul 5, 2010 at 5:24 PM, Robin
Hi,
I am having some problems with win64 with all my tests failing.
Short of saying what those failures are, we can't help you,
I installed amd64 Python from Python.org and numpy and scipy from http://www.lfd.uci.edu/~gohlke/pythonlibs/
I noticed that on windows sys.maxint is the 32bit value (2147483647
This is not surprising: sys.maxint gives you the max value of a long, which is 32 bits even on 64 bits on windows. David
On Mon, Jul 5, 2010 at 12:09 PM, David Cournapeau
Short of saying what those failures are, we can't help you,
Thanks for reply... Somehow my message got truncated  I had written more detail about the errors!
I noticed that on windows sys.maxint is the 32bit value (2147483647
This is not surprising: sys.maxint gives you the max value of a long, which is 32 bits even on 64 bits on windows.
I just got to figuring this out... But it makes some problems. The main one I'm having is that I assume because of this problem array shapes are longs instead of ints (ie x.shape[0] is a long). This breaks np.random.permutation(x.shape[1]) which I use all over the place (I opened a ticket for this, #1535). Something I asked in the previous mail that got lost is what is the best cross platform way of doing this? np.random.permutation(int(x.shape[1]))? Actually that and the problems with scipy.sparse (spsolve doesn't work) cover all of the errors I'm seeing... (I detailed those in a seperate mail to the scipy list). Cheers Robin
On 7/5/2010 4:19 AM, Robin wrote:
On Mon, Jul 5, 2010 at 12:09 PM, David Cournapeau
wrote: Short of saying what those failures are, we can't help you,
Thanks for reply... Somehow my message got truncated  I had written more detail about the errors!
I noticed that on windows sys.maxint is the 32bit value (2147483647
This is not surprising: sys.maxint gives you the max value of a long, which is 32 bits even on 64 bits on windows.
I just got to figuring this out... But it makes some problems. The main one I'm having is that I assume because of this problem array shapes are longs instead of ints (ie x.shape[0] is a long).
This breaks np.random.permutation(x.shape[1]) which I use all over the place (I opened a ticket for this, #1535). Something I asked in the previous mail that got lost is what is the best cross platform way of doing this? np.random.permutation(int(x.shape[1]))?
I proposed a fix at http://projects.scipy.org/numpy/ticket/1535. Does it work for you?
Actually that and the problems with scipy.sparse (spsolve doesn't work) cover all of the errors I'm seeing... (I detailed those in a seperate mail to the scipy list).
 Christoph
On Tue, Jul 6, 2010 at 6:57 PM, Christoph Gohlke
I proposed a fix at http://projects.scipy.org/numpy/ticket/1535. Does it work for you?
Thanks very much... that looks great. Since it works with long's it fixes my problems (I think it will also fix a couple of the failing scipy tests) Cheers Robin
participants (3)

Christoph Gohlke

David Cournapeau

Robin