Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running setup #14

Open
tli9181991 opened this issue Dec 13, 2023 · 0 comments
Open

Error running setup #14

tli9181991 opened this issue Dec 13, 2023 · 0 comments

Comments

@tli9181991
Copy link

I have encountered the following error while running setup.py

src/utils/libkdtree/pykdtree/kdtree.c: In function ‘__pyx_tp_dealloc_8pykdtree_6kdtree_KDTree’:
src/utils/libkdtree/pykdtree/kdtree.c:7443:5: error: lvalue required as increment operand
7443 | ++Py_REFCNT(o);
| ^~
src/utils/libkdtree/pykdtree/kdtree.c:7445:5: error: lvalue required as decrement operand
7445 | --Py_REFCNT(o);
| ^~
src/utils/libkdtree/pykdtree/kdtree.c: In function ‘PyInit_kdtree’:
src/utils/libkdtree/pykdtree/kdtree.c:8027:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
8027 | __pyx_type_8pykdtree_6kdtree_KDTree.tp_print = 0;

(error: command '/usr/bin/gcc' failed with exit code 1)

gcc version: 9.4.0
ubuntu version 20.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant