fail to run ./make.sh
Opened this issue · 4 comments
KrystalCWT commented
c_type’?
tstate->exc_type = local_type;
^~~~~~~~
curexc_type
pycocotools/_mask.c:14327:13: error: ‘PyThreadState {aka struct _ts’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
pycocotools/_mask.c:14328:13: error: ‘PyThreadState {aka struct _ts’ has no member named ‘exc_traceback’; did you mean ‘curexc_tracebac’?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
error: command 'gcc' failed with exit status 1
kilence commented
same error...
CGGG-gg commented
how to fix it
Jeff-Chow000 commented
change all the 'exc' stuff into 'curexc', it will be alright.
aalekhpatel07 commented
In case anybody hasn't found a solution yet, forcing the build worked for me.
python build.py build_ext --inplace --force