<br><br><div class="gmail_quote">On Wed, May 20, 2009 at 3:51 PM, Jochen Schroeder <span dir="ltr"><<a href="mailto:cycomanic@gmail.com">cycomanic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
I'm trying to help someone out with some problems with pyfftw<br>
(<a href="http://pyfftw.berlios.de" target="_blank">pyfftw.berlios.de</a>). He is seeing an exception,<br>
<br>
TypeError: view() takes no keyword arguments<br>
<br>
This doesn't only happen when he uses pyfftw but also when he does the<br>
following:<br>
<br>
>>> import numpy as np<br>
>>> a=np.arange(10)<br>
>>> print a.view(dtype='float')<br>
Traceback (most recent call last):<br>
  File "<stdin>", line 1, in <module><br>
TypeError: view() takes no keyword arguments<br>
<br>
I he's on Windows and sees this error both with numpy 1.1.1 and 1.3.<br>
I'm a bit lost anybody have an idea what could be the problem?<br>
</blockquote><div><br>I don't see this error on linux:<br><br>In [3]: a.view(dtype=double)<br>Out[3]: array([ 1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.,  1.])<br><br>What version of python do you have installed? Did try deleting the previous version of numpy from site-packages before install? Windows 32 or 64 bit? Etc.<br>
<br>Chuck <br></div><br></div><br>