With numpy 1.5.1:
Python 2.7.1 |EPD 7.0-2 (32-bit)| (r271:86832, Dec 3 2010, 15:41:32)
[GCC 4.0.1 (Apple Inc. build 5488)] on darwin
Type help, copyright, credits or license for more information.
from numpy import array
x = array((1.2, 2.3), dtype=[('field1', float), ('field2', float)])
Thu, 19 May 2011 12:36:22 +0100, Mark Dickinson wrote:
[clip]
from numpy import array
x = array((1.2, 2.3), dtype=[('field1', float), ('field2', float)])
x.astype(object)
array(1.2, dtype=object)
Was this change intentional, or should I file a bug? I couldn't find
any reference to it in
Hi,
trying to build a fortran extension linked to lapack (f77), I faced a
problem that I reduced to the following example.
testfile.f90
subroutine testfunc
integer,parameter :: n=2
integer :: iseed(4)
real(kind=8) :: x(n)
iseed = (/0,1,3,4/)
call
Hi
I have installed a new version of Python27 in a new directory. I want to get
this info into the registry so, when I install Numpy, it will use my new
Python
TIA
-Mathew
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
On 5/19/2011 2:07 PM, Mathew Yeates wrote:
I have installed a new version of Python27 in a new directory. I want to get
this info into the registry so, when I install Numpy, it will use my new
Python
It probably will already.
Did you try?
(Assumption: you're using Windows installers.)
Alan
I *am* using the windows installer.
On Thu, May 19, 2011 at 11:14 AM, Alan G Isaac alan.is...@gmail.com wrote:
On 5/19/2011 2:07 PM, Mathew Yeates wrote:
I have installed a new version of Python27 in a new directory. I want to get
this info into the registry so, when I install Numpy, it will
On 5/19/2011 2:15 PM, Mathew Yeates wrote:
I*am* using the windows installer.
And you find that it does not find your most recent
Python 2.7 install, for which you also used the
Windows installer?
Alan Isaac
___
NumPy-Discussion mailing list
Right. The Registry keys point to the old Python27.
On Thu, May 19, 2011 at 11:23 AM, Alan G Isaac alan.is...@gmail.com wrote:
On 5/19/2011 2:15 PM, Mathew Yeates wrote:
I*am* using the windows installer.
And you find that it does not find your most recent
Python 2.7 install, for which you
Dear Numpy users,
I've encountered an AttributeError in numpy.distutils
File
/home/bsesar/usr/pydebug/lib/python2.7/site-packages/numpy/distutils/command/build_src.py,
line 646, in swig_sources
extension.swig_opts.remove('-c++')
AttributeError: 'str' object has no attribute 'remove'
On 5/19/2011 11:24 AM, Mathew Yeates wrote:
Right. The Registry keys point to the old Python27.
On Thu, May 19, 2011 at 11:23 AM, Alan G Isaacalan.is...@gmail.com wrote:
On 5/19/2011 2:15 PM, Mathew Yeates wrote:
I*am* using the windows installer.
And you find that it does not find your
Hello,
what code paths does `numpy.dot(matrix, matrix)` take with regard to the order
of the input matrices (c/fortran contiguous?).
In particular, under what conditions does it make a copy of the input matrices,
and under which conditions does it set the gemm transposition flags internally?
On 5/19/2011 2:24 PM, Mathew Yeates wrote:
The Registry keys point to the old Python27.
Odd. The default installation settings
should have reset this. Or so I believed.
Maybe this will help?
http://effbot.org/zone/python-register.htm
Alan Isaac
On Wed, May 18, 2011 at 11:40 PM, Bruce Southey bsout...@gmail.com wrote:
On 05/18/2011 03:28 PM, Ralf Gommers wrote:
On Wed, May 18, 2011 at 8:42 PM, Wieland Brendel
wielandbren...@gmx.netwrote:
I succeeded now in installing the latest Numpy version. There was some
problem in
cool. just what I was looking for
On Thu, May 19, 2011 at 2:15 PM, Alan G Isaac alan.is...@gmail.com wrote:
On 5/19/2011 2:24 PM, Mathew Yeates wrote:
The Registry keys point to the old Python27.
Odd. The default installation settings
should have reset this. Or so I believed.
Maybe this
On Thu, May 19, 2011 at 1:53 AM, Pauli Virtanen p...@iki.fi wrote:
On Wed, 18 May 2011 16:36:31 -0700, G Jones wrote:
[clip]
As a followup, I managed to install tcmalloc as described in the article
I mentioned. Running the example I sent now shows a constant memory foot
print as expected.
(just illustrating some porting fun)
I was struggling with another python 3.2 bug in scikits.statsmodels
(with grunfeld data)
with numpy 1.5.1, I'm reading the data with
data = recfromtxt(open(filepath + '/grunfeld.csv', 'rb'), delimiter=,,
names=True, dtype=f8,f8,f8,a17,f8)
Thanks both for your helping:
I was checking the script fro Olivier but doesn't works yet, later I tried
with the asciitable package but I also never could read any of my files
(finally I decide create a single file for each case, it means to get 2
arrays for each domain).
I was reading a while
Solved. Sort of. When I compiled by hand and switched /MD to /MT it
worked. It would still be nice if I could control the compiler options
f2py passes to cl.exe
-Mathew
On Thu, May 19, 2011 at 3:05 PM, Mathew Yeates mat.yea...@gmail.com wrote:
Hi
I am trying to run f2py and link to some
okay. To get it all to work I edited msvc9compiler.py and changed /MD
to /MT. This still led to an a different error. having to do with
mt.exe which does not come with MSVC 2008 Express. I fixed this
commenting out /MANIFEST stuff in msvc9compile.py
On Thu, May 19, 2011 at 6:25 PM, Mathew Yeates
19 matches
Mail list logo