Open ahillsley opened 4 months ago
@ahillsley which python version worked for you? I got the same longinterpr.h error in 3.12, and got the following errors in 3.9.5 and 3.9.6:
waterz/evaluate.cpp:3429:41: error: no member named 'subarray' in '_PyArray_Descr'
3429 | __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape));
| ~~~~~~~~~ ^
waterz/evaluate.cpp:1214:37: note: expanded from macro '__Pyx_INCREF'
1214 | #define __Pyx_INCREF(r) Py_INCREF(r)
| ^
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/include/python3.9/object.h:411:49: note: expanded from macro 'Py_INCREF'
411 | #define Py_INCREF(op) _Py_INCREF(_PyObject_CAST(op))
| ^~
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/include/python3.9/object.h:112:41: note: expanded from macro '_PyObject_CAST'
112 | #define _PyObject_CAST(op) ((PyObject*)(op))
| ^~
waterz/evaluate.cpp:3430:38: error: no member named 'subarray' in '_PyArray_Descr'
3430 | __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
| ~~~~~~~~~ ^
waterz/evaluate.cpp:3525:31: error: no member named 'names' in '_PyArray_Descr'
3525 | if (unlikely(__pyx_v_descr->names == Py_None)) {
| ~~~~~~~~~~~~~ ^
waterz/evaluate.cpp:835:43: note: expanded from macro 'unlikely'
835 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
waterz/evaluate.cpp:3529:30: error: no member named 'names' in '_PyArray_Descr'
3529 | __pyx_t_1 = __pyx_v_descr->names; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
| ~~~~~~~~~~~~~ ^
waterz/evaluate.cpp:3548:33: error: no member named 'fields' in '_PyArray_Descr'
3548 | if (unlikely(__pyx_v_descr->fields == Py_None)) {
| ~~~~~~~~~~~~~ ^
waterz/evaluate.cpp:835:43: note: expanded from macro 'unlikely'
835 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
waterz/evaluate.cpp:3552:53: error: no member named 'fields' in '_PyArray_Descr'
3552 | __pyx_t_3 = __Pyx_PyDict_GetItem(__pyx_v_descr->fields, __pyx_v_childname); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 852, __pyx_L1_error)
| ~~~~~~~~~~~~~ ^
waterz/evaluate.cpp:3753:81: error: no member named 'elsize' in '_PyArray_Descr'
3753 | (__pyx_v_offset[__pyx_t_8]) = ((__pyx_v_offset[__pyx_t_8]) + __pyx_v_child->elsize);
| ~~~~~~~~~~~~~ ^
7 errors generated.
error: command '/usr/bin/clang++' failed with exit code 1
On installation got the error message:
Fixed with downgrading to python=3.9 but would be nice if it worked with current python