f2py error - windows xp (F2PY-2.43.239_1806)
M. Faust
marfadeut at gmx.de
Mon Sep 27 15:30:23 EDT 2004
Thanks, Bethold for a good hint ...
I had in "Numeric/arrayobject.h"
typedef struct {
PyObject_HEAD
char *data;
int nd;
int *dimensions, *strides;
PyObject *base;
PyArray_Descr *descr;
int flags;
} PyArrayObject;
After adding
PyObject *weakreflist;
I could generate a hello.pyd. Python really is an incredibly versatile
and powerful tool.
Markus
>
> Try to find your "Numeric/arrayobject.h". Mine has
>
> typedef struct {
> PyObject_HEAD
> char *data;
> int nd;
> int *dimensions, *strides;
> PyObject *base;
> PyArray_Descr *descr;
> int flags;
> PyObject *weakreflist;
> } PyArrayObject;
>
> and is from Numeric 23.3. In one of my installations updating to
> Numeric to 23.3 solved a similar error.
>
> Regards
> Berthold
>
More information about the Python-list
mailing list