-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hi Tom et al,
I'm having a lot of trouble installing on a new ubuntu machine; I can compile the binaries but get failures with
pip install -e ".[recommended]"
numerous errors like this:
hyperion/grid/_voronoi_core.c:159:35: warning: passing argument 1 of ‘PyArray_DATA’ from incompatible pointer type [-Wincompatible-pointer-types]
159 | memcpy((int*)PyArray_DATA(spoints_idx_array),sampling_idx,sizeof(int) * (nsites + 1));
| ^~~~~~~~~~~~~~~~~
| |
| PyObject * {aka struct _object *}
/tmp/pip-build-env-vpn6xttn/overlay/lib/python3.9/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1508:35: note: expected ‘const PyArrayObject *’ {aka ‘const struct tagPyArrayObject *’} but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
1508 | PyArray_DATA(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
I tried downgrading numpy to 1.22 or 1.24 without success, so its not obviously the numpy2 API
Any ideas of things I could try? Thank you.
Metadata
Metadata
Assignees
Labels
No labels