[Numpy-discussion] numpy-1.0b3 under windows
Travis Oliphant
oliphant.travis at ieee.org
Wed Aug 23 17:21:41 CDT 2006
Travis Oliphant wrote:
> Frank Conradie wrote:
>
>> Hi Sven and Jordan
>>
>> I wish to add my name to this list ;-) I just got the same error
>> trying to compile for Python 2.3 with latest candidate mingw32,
>> following the instructions at
>> http://www.scipy.org/Installing_SciPy/Windows .
>>
>> Hopefully someone can shed some light on this error - what I've been
>> able to find on the net explains something about C not allowing
>> dynamic initializing of global variables, whereas C++ does...?
>>
>>
> Edit line 690 of ndarrayobject.h to read
>
> #define NPY_USE_PYMEM 0
>
> Hopefully that should fix the error.
>
You will also have to alter line 11189 so that
_Py_HashPointer is replaced by 0 or NULL
More information about the Numpy-discussion
mailing list