Re: [Numpy-discussion] copy/deepcopy pull request, Travis build failure

2012-10-25 Thread David Warde-Farley
On Fri, Oct 26, 2012 at 1:04 AM, wrote: > Fine, I didn't understand that part correctly. > > I have no opinion in that case. > (In statsmodels we only use copy the array method and through np.array().) Do you implement __copy__ or __deepcopy__ on your objects? If not, client code using statsmod

Re: [Numpy-discussion] copy/deepcopy pull request, Travis build failure

2012-10-25 Thread josef . pktd
On Thu, Oct 25, 2012 at 11:48 PM, David Warde-Farley wrote: > On Thu, Oct 25, 2012 at 8:39 PM, wrote: >> On Thu, Oct 25, 2012 at 6:58 PM, David Warde-Farley >> wrote: >>> On Thu, Oct 25, 2012 at 6:15 PM, Sebastian Berg >>> wrote: On Thu, 2012-10-25 at 17:48 -0400, David Warde-Farley wrote

Re: [Numpy-discussion] copy/deepcopy pull request, Travis build failure

2012-10-25 Thread David Warde-Farley
On Thu, Oct 25, 2012 at 8:39 PM, wrote: > On Thu, Oct 25, 2012 at 6:58 PM, David Warde-Farley > wrote: >> On Thu, Oct 25, 2012 at 6:15 PM, Sebastian Berg >> wrote: >>> On Thu, 2012-10-25 at 17:48 -0400, David Warde-Farley wrote: >> >>> Don't worry about that failure on Travis... It happens rand

Re: [Numpy-discussion] error of install numpy on linux redhat.

2012-10-25 Thread Jack Bryan
Hi, Aron, I have followed the instructions on the url, after installing python 2.6, I tried to install numpy and got : [~/numpy/numpy] $ /home/user/myName/.local/bin/python setup.py installTraceback (most recent call last): File "setup.py", line 22, in import subprocess File "/home/user/m

Re: [Numpy-discussion] copy/deepcopy pull request, Travis build failure

2012-10-25 Thread Charles R Harris
Hi Sebastian, On Thu, Oct 25, 2012 at 4:15 PM, Sebastian Berg wrote: > On Thu, 2012-10-25 at 17:48 -0400, David Warde-Farley wrote: > > I submitted a pull request and one of the Travis builds is failing: > > > > https://travis-ci.org/#!/numpy/numpy/jobs/2933551 > > > Don't worry about that fa

Re: [Numpy-discussion] copy/deepcopy pull request, Travis build failure

2012-10-25 Thread josef . pktd
On Thu, Oct 25, 2012 at 6:58 PM, David Warde-Farley wrote: > On Thu, Oct 25, 2012 at 6:15 PM, Sebastian Berg > wrote: >> On Thu, 2012-10-25 at 17:48 -0400, David Warde-Farley wrote: > >> Don't worry about that failure on Travis... It happens randomly on at >> the moment and its unrelated to anyth

Re: [Numpy-discussion] copy/deepcopy pull request, Travis build failure

2012-10-25 Thread David Warde-Farley
On Thu, Oct 25, 2012 at 6:15 PM, Sebastian Berg wrote: > On Thu, 2012-10-25 at 17:48 -0400, David Warde-Farley wrote: > Don't worry about that failure on Travis... It happens randomly on at > the moment and its unrelated to anything you are doing. Ah, okay. I figured it was something like that.

Re: [Numpy-discussion] copy/deepcopy pull request, Travis build failure

2012-10-25 Thread Sebastian Berg
On Thu, 2012-10-25 at 17:48 -0400, David Warde-Farley wrote: > I submitted a pull request and one of the Travis builds is failing: > > https://travis-ci.org/#!/numpy/numpy/jobs/2933551 > Don't worry about that failure on Travis... It happens randomly on at the moment and its unrelated to anyt

Re: [Numpy-discussion] einsum slow vs (tensor)dot

2012-10-25 Thread David Warde-Farley
On Wed, Oct 24, 2012 at 7:18 AM, George Nurser wrote: > Hi, > > I was just looking at the einsum function. > To me, it's a really elegant and clear way of doing array operations, which > is the core of what numpy is about. > It removes the need to remember a range of functions, some of which I fin

[Numpy-discussion] copy/deepcopy pull request, Travis build failure

2012-10-25 Thread David Warde-Farley
I submitted a pull request and one of the Travis builds is failing: https://travis-ci.org/#!/numpy/numpy/jobs/2933551 Given my changes, https://github.com/dwf/numpy/commit/4c88fdafc003397d6879f81bf59f68adeeb59f2b I don't see how the masked array module (responsible for the failing test)

Re: [Numpy-discussion] error of install numpy on linux redhat.

2012-10-25 Thread Paul Hobson
On Wed, Oct 24, 2012 at 9:01 PM, Jack Bryan wrote: > Hi, All, > > I am trying to install numpy from http://www.scipy.org/Download . > > by > > git clone git://github.com/numpy/numpy.git numpy > > > But, when I ran > > python setup.py install > > I got: > > SystemError: Cannot compile 'Python.h'.

Re: [Numpy-discussion] error of install numpy on linux redhat.

2012-10-25 Thread Aron Ahmadia
I'm repeating myself, but did you try following the instructions here: http://stackoverflow.com/a/622810/122022? ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] error of install numpy on linux redhat.

2012-10-25 Thread Jack Bryan
Hi, Aron, I have to install in my local dir. The sys-adm cannot help me. Any help will be appreciated. > Date: Thu, 25 Oct 2012 16:00:07 +0100 > From: a...@ahmadia.net > To: numpy-discussion@scipy.org > Subject: Re: [Numpy-discussion] error of install numpy on linux redhat. > > Hi Jack, > >

Re: [Numpy-discussion] error of install numpy on linux redhat.

2012-10-25 Thread Aron Ahmadia
Hi Jack, import os > Traceback (most recent call last): > File "", line 1, in > ImportError: No module named os You've got a broken local python install. Did you try following the instructions here: http://stackoverflow.com/a/622810/122022? It is probably easiest to ask your system admi

Re: [Numpy-discussion] error of install numpy on linux redhat.

2012-10-25 Thread Jack Bryan
Hi, I have installed python2.6 in my local dir. But, when I used python setup.py install --user to install numpy , I got: $ python setup.py install --user'import site' failed; use -v for tracebackTraceback (most recent call last): File "setup.py", line 18, in import osImportError: No modu

Re: [Numpy-discussion] error of install numpy on linux redhat.

2012-10-25 Thread Jack Bryan
Thanks for your invitation. I cannot use rpm command because I am not root user and cannot get sys-adm authorization. Any help will be appreciated. Thanks Date: Thu, 25 Oct 2012 08:05:47 +0200 From: ralf.gomm...@gmail.com To: numpy-discussion@scipy.org Subject: Re: [Numpy-discussion] error of

Re: [Numpy-discussion] np.linalg.lstsq with several columns all 0 => huge x ?

2012-10-25 Thread denis
On 24/10/2012 19:59, josef.p...@gmail.com wrote: > On Wed, Oct 24, 2012 at 1:33 PM, denis wrote: >> Folks, >> np.linalg.lstsq of a random-uniform A 50 x 32 with 3 columns all 0 >> returns x[:3] 0 as expected, >> but 4 columns all 0 => huge x: > lstsq has rcond argument to do (I think) essen