Re: [Numpy-discussion] Owndata flag

2011-12-18 Thread Travis Oliphant
[snip] > > > > Devs, looking into this, I noticed that we use PyDataMem_NEW() and > PyDataMem_FREE() (which is #defined to malloc() and free()) for > handling the data pointer. Why aren't we using the appropriate > PyMem_*() functions (or the PyArray_*() memory functions which default > to using

Re: [Numpy-discussion] Problem installing NumPy with Python 3.2.2/MacOS X 10.7.2

2011-12-18 Thread McNicol, Adam
ll instructions but the build fails with the > following message: > > File "numpy/core/setup.py", line 271, in check_types > "Cannot compile 'Python.h'. Perhaps you need to "\ > SystemError: Cannot compile 'Python.h'. Perhaps you need to ins

Re: [Numpy-discussion] Problem installing NumPy with Python 3.2.2/MacOS X 10.7.2

2011-12-18 Thread Ralf Gommers
t; > I am very new to numpy and have really only started investigating it as > > one of my students needs some functionality from matplotlib. I have > managed > > to install everything under Windows for work in class but I use a Mac at > > home and have been struggling all nigh

Re: [Numpy-discussion] Problem installing NumPy with Python 3.2.2/MacOS X 10.7.2

2011-12-18 Thread McNicol, Adam
I then followed the install instructions but the build fails with the > following message: > > File "numpy/core/setup.py", line 271, in check_types > "Cannot compile 'Python.h'. Perhaps you need to "\ > SystemError: Canno

Re: [Numpy-discussion] Problem installing NumPy with Python 3.2.2/MacOS X 10.7.2

2011-12-18 Thread Ralf Gommers
On Sat, Dec 17, 2011 at 12:59 PM, McNicol, Adam wrote: > ** > > Hi There, > > Thanks for the responses. > > At this point I would settle from just being able to install matplotlib. > Even if some of the functionality isn't present currently that is fine. > > I'm afraid my knowledge of Python falls