Re: [Numpy-discussion] view takes no keyword arguments exception

2009-05-20 Thread Charles R Harris
On Wed, May 20, 2009 at 3:51 PM, Jochen Schroeder wrote: > Hi all, > > I'm trying to help someone out with some problems with pyfftw > (pyfftw.berlios.de). He is seeing an exception, > > TypeError: view() takes no keyword arguments > > This doesn't only happen when he uses pyfftw but also when he

Re: [Numpy-discussion] view takes no keyword arguments exception

2009-05-20 Thread Pierre GM
On May 20, 2009, at 9:57 PM, Jochen Schroeder wrote: > Sorry maybe I phrased my question wrongly. I don't want to change > the code (This was just a short example). > I just want to know why it is failing on his system and what he > can do so that a.view(dtype='...') is working. I suspected it

Re: [Numpy-discussion] view takes no keyword arguments exception

2009-05-20 Thread Jochen Schroeder
On 21/05/09 00:20, Stéfan van der Walt wrote: > Hi Jochen > > 2009/5/20 Jochen Schroeder : > > I'm trying to help someone out with some problems with pyfftw > > (pyfftw.berlios.de). He is seeing an exception, > > > > TypeError: view() takes no keyword arguments > > > > This doesn't only happen whe

Re: [Numpy-discussion] view takes no keyword arguments exception

2009-05-20 Thread Stéfan van der Walt
Hi Jochen 2009/5/20 Jochen Schroeder : > I'm trying to help someone out with some problems with pyfftw > (pyfftw.berlios.de). He is seeing an exception, > > TypeError: view() takes no keyword arguments > > This doesn't only happen when he uses pyfftw but also when he does the > following: > i

[Numpy-discussion] view takes no keyword arguments exception

2009-05-20 Thread Jochen Schroeder
Hi all, I'm trying to help someone out with some problems with pyfftw (pyfftw.berlios.de). He is seeing an exception, TypeError: view() takes no keyword arguments This doesn't only happen when he uses pyfftw but also when he does the following: >>> import numpy as np >>> a=np.arange(10)