Re: [Numpy-discussion] Crashes and test failures

2012-03-22 Thread Gael Varoquaux
On Thu, Mar 22, 2012 at 06:24:13PM -0600, Charles R Harris wrote: >Since you are running on Ubuntu, it's probably a good idea to >python setup.py install --user >which will put everything in .local and avoid the mess with dist-packages >and site-packages. Maybe you do that already

Re: [Numpy-discussion] Crashes and test failures

2012-03-22 Thread Charles R Harris
On Thu, Mar 22, 2012 at 11:24 AM, Gael Varoquaux < gael.varoqu...@normalesup.org> wrote: > On Thu, Mar 22, 2012 at 11:20:10AM -0600, Charles R Harris wrote: > > This one was fixed a few days ago, so you aren't running the latest. > > Indeed, but if I run the latest, any operation on arrays segfaul

[Numpy-discussion] [ANN] PyData workshop videos are up online, including panel with Guido

2012-03-22 Thread Fernando Perez
Hi all, just to let you know that the videos from the PyData workshop we held at Google a couple of weeks ago are now online (not all talks are up yet, so watch the page over the next few days if a talk you wanted to see isn't posted yet): http://marakana.com/s/2012_pydata_workshop,1090/index.htm

Re: [Numpy-discussion] Crashes and test failures

2012-03-22 Thread Gael Varoquaux
On Thu, Mar 22, 2012 at 11:20:10AM -0600, Charles R Harris wrote: > This one was fixed a few days ago, so you aren't running the latest. Indeed, but if I run the latest, any operation on arrays segfaults on me, so I am running 0.6.1. But you are saying that it's known and fixed. Great! > That mig

Re: [Numpy-discussion] Crashes and test failures

2012-03-22 Thread Charles R Harris
On Thu, Mar 22, 2012 at 11:07 AM, Gael Varoquaux < gael.varoqu...@normalesup.org> wrote: > > Hi list, > > I just got a new laptop, running Ubuntu 11.10 64bit on an Intel i7. > I am a bit intriged by the test results of numpy on this box. > > First of all, master builds and imports OK, but the simp

[Numpy-discussion] Crashes and test failures

2012-03-22 Thread Gael Varoquaux
Hi list, I just got a new laptop, running Ubuntu 11.10 64bit on an Intel i7. I am a bit intriged by the test results of numpy on this box. First of all, master builds and imports OK, but the simplest test case crashes with a segfault: import numpy as np a = np.ones(10, dtype=np.bool)

Re: [Numpy-discussion] Trouble building NumPy on PPC64

2012-03-22 Thread Andreas H.
> On Mon, Mar 19, 2012 at 6:45 PM, Andreas H. wrote: > >> Hi all, >> >> I have troube installing numpy in a virtual environment on a SuSE >> Enterprise 11 server (ppc64). >> >> Here is what I did: >> >>curl -O https://raw.github.com/pypa/virtualenv/master/virtualenv.py >>python virtualenv.

Re: [Numpy-discussion] About np array and recarray

2012-03-22 Thread Yan Tang
Yes, this is finally how I work around it. I just want to save the conversion from list to tuple. On Thu, Mar 22, 2012 at 1:32 AM, Val Kalatsky wrote: > > Will this do what you need to accomplish? > > import datetime > np.array([(datetime.datetime.strptime(i[0], "%Y-%m-%d").date(), i[1]) for >

Re: [Numpy-discussion] About np array and recarray

2012-03-22 Thread Yan Tang
Thank you very much. Very detailed explanation. On Thu, Mar 22, 2012 at 1:16 AM, Travis Oliphant wrote: > > On Mar 21, 2012, at 11:48 PM, Yan Tang wrote: > > Hi, > > I am really confused on the np array or record array, and cannot > understand how it works. > > What I want to do is that I have a