slaypni / fastdtw

A Python implementation of FastDTW
MIT License
785 stars 122 forks source link

Installing from source: too many errors emitted #37

Open bwang482 opened 4 years ago

bwang482 commented 4 years ago

Hi, I am trying to install from source enable cython. However there seems to be a lot of errors:

python3 setup.py build

running build running build_py creating build creating build/lib.macosx-10.12-x86_64-3.7 creating build/lib.macosx-10.12-x86_64-3.7/fastdtw copying fastdtw/init.py -> build/lib.macosx-10.12-x86_64-3.7/fastdtw copying fastdtw/fastdtw.py -> build/lib.macosx-10.12-x86_64-3.7/fastdtw running build_ext building 'fastdtw._fastdtw' extension creating build/temp.macosx-10.12-x86_64-3.7 creating build/temp.macosx-10.12-x86_64-3.7/fastdtw clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c fastdtw/_fastdtw.cpp -o build/temp.macosx-10.12-x86_64-3.7/fastdtw/_fastdtw.o fastdtw/_fastdtw.cpp:2092:7: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] if (Pyx_PyFastCFunction_Check(pyx_t_2)) { ^~~~~~~~~~ fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check' ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...


fastdtw/_fastdtw.cpp:2092:7: note: place parentheses around the '==' expression to silence
      this warning
  if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastdtw/_fastdtw.cpp:2092:7: note: place parentheses around the & expression to evaluate
      it first
  if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
  ...== PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:2770:7: warning: & has lower precedence than ==; == will be evaluated
      first [-Wparentheses]
  if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
fastdtw/_fastdtw.cpp:2770:7: note: place parentheses around the '==' expression to silence
      this warning
  if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastdtw/_fastdtw.cpp:2770:7: note: place parentheses around the & expression to evaluate
      it first
  if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
  ...== PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:3527:7: warning: & has lower precedence than ==; == will be evaluated
      first [-Wparentheses]
  if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
fastdtw/_fastdtw.cpp:3527:7: note: place parentheses around the '==' expression to silence
      this warning
  if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastdtw/_fastdtw.cpp:3527:7: note: place parentheses around the & expression to evaluate
      it first
  if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
  ...== PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:4136:7: warning: & has lower precedence than ==; == will be evaluated
      first [-Wparentheses]
  if (__Pyx_PyFastCFunction_Check(__pyx_t_8)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
fastdtw/_fastdtw.cpp:4136:7: note: place parentheses around the '==' expression to silence
      this warning
  if (__Pyx_PyFastCFunction_Check(__pyx_t_8)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastdtw/_fastdtw.cpp:4136:7: note: place parentheses around the & expression to evaluate
      it first
  if (__Pyx_PyFastCFunction_Check(__pyx_t_8)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
  ...== PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:4212:7: warning: & has lower precedence than ==; == will be evaluated
      first [-Wparentheses]
  if (__Pyx_PyFastCFunction_Check(__pyx_t_12)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
fastdtw/_fastdtw.cpp:4212:7: note: place parentheses around the '==' expression to silence
      this warning
  if (__Pyx_PyFastCFunction_Check(__pyx_t_12)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastdtw/_fastdtw.cpp:4212:7: note: place parentheses around the & expression to evaluate
      it first
  if (__Pyx_PyFastCFunction_Check(__pyx_t_12)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
  ...== PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:4554:13: warning: & has lower precedence than ==; == will be
      evaluated first [-Wparentheses]
        if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
fastdtw/_fastdtw.cpp:4554:13: note: place parentheses around the '==' expression to
      silence this warning
        if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastdtw/_fastdtw.cpp:4554:13: note: place parentheses around the & expression to evaluate
      it first
        if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
  ...== PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:4801:11: warning: & has lower precedence than ==; == will be
      evaluated first [-Wparentheses]
      if (__Pyx_PyFastCFunction_Check(__pyx_t_9)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
fastdtw/_fastdtw.cpp:4801:11: note: place parentheses around the '==' expression to
      silence this warning
      if (__Pyx_PyFastCFunction_Check(__pyx_t_9)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastdtw/_fastdtw.cpp:4801:11: note: place parentheses around the & expression to evaluate
      it first
      if (__Pyx_PyFastCFunction_Check(__pyx_t_9)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
  ...== PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:10271:11: warning: & has lower precedence than ==; == will be
      evaluated first [-Wparentheses]
      if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
fastdtw/_fastdtw.cpp:10271:11: note: place parentheses around the '==' expression to
      silence this warning
      if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastdtw/_fastdtw.cpp:10271:11: note: place parentheses around the & expression to evaluate
      it first
      if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
  ...== PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:10573:9: warning: & has lower precedence than ==; == will be
      evaluated first [-Wparentheses]
    if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
fastdtw/_fastdtw.cpp:10573:9: note: place parentheses around the '==' expression to
      silence this warning
    if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastdtw/_fastdtw.cpp:10573:9: note: place parentheses around the & expression to evaluate
      it first
    if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
  ...== PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:16959:9: warning: & has lower precedence than ==; == will be
      evaluated first [-Wparentheses]
    if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
fastdtw/_fastdtw.cpp:16959:9: note: place parentheses around the '==' expression to
      silence this warning
    if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastdtw/_fastdtw.cpp:16959:9: note: place parentheses around the & expression to evaluate
      it first
    if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
  ...== PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:17077:11: warning: & has lower precedence than ==; == will be
      evaluated first [-Wparentheses]
      if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
fastdtw/_fastdtw.cpp:17077:11: note: place parentheses around the '==' expression to
      silence this warning
      if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
    ((PyCFunction_Check(func) && METH_FASTCALL == PyCFunction_GET_FLAGS(func) & ~(...
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fastdtw/_fastdtw.cpp:17077:11: note: place parentheses around the & expression to evaluate
      it first
      if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:193:79: note: expanded from macro '__Pyx_PyFastCFunction_Check'
  ...== PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastdtw/_fastdtw.cpp:20258:65: error: too many arguments to function call, expected 3,
      have 4
    return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     ^~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:100:18: note:
      expanded from macro 'NULL'
#    define NULL __null
                 ^~~~~~
fastdtw/_fastdtw.cpp:22266:21: error: no member named 'exc_type' in '_ts'
    *type = tstate->exc_type;
            ~~~~~~  ^
fastdtw/_fastdtw.cpp:22267:22: error: no member named 'exc_value' in '_ts'; did you mean
      'curexc_value'?
    *value = tstate->exc_value;
                     ^~~~~~~~~
                     curexc_value
/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note:
      'curexc_value' declared here
    PyObject *curexc_value;
              ^
fastdtw/_fastdtw.cpp:22268:19: error: no member named 'exc_traceback' in '_ts'; did you
      mean 'curexc_traceback'?
    *tb = tstate->exc_traceback;
                  ^~~~~~~~~~~~~
                  curexc_traceback
/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note:
      'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
fastdtw/_fastdtw.cpp:22275:24: error: no member named 'exc_type' in '_ts'
    tmp_type = tstate->exc_type;
               ~~~~~~  ^
fastdtw/_fastdtw.cpp:22276:25: error: no member named 'exc_value' in '_ts'; did you mean
      'curexc_value'?
    tmp_value = tstate->exc_value;
                        ^~~~~~~~~
                        curexc_value
/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note:
      'curexc_value' declared here
    PyObject *curexc_value;
              ^
fastdtw/_fastdtw.cpp:22277:22: error: no member named 'exc_traceback' in '_ts'; did you
      mean 'curexc_traceback'?
    tmp_tb = tstate->exc_traceback;
                     ^~~~~~~~~~~~~
                     curexc_traceback
/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note:
      'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
fastdtw/_fastdtw.cpp:22278:13: error: no member named 'exc_type' in '_ts'
    tstate->exc_type = type;
    ~~~~~~  ^
fastdtw/_fastdtw.cpp:22279:13: error: no member named 'exc_value' in '_ts'; did you mean
      'curexc_value'?
    tstate->exc_value = value;
            ^~~~~~~~~
            curexc_value
/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note:
      'curexc_value' declared here
    PyObject *curexc_value;
              ^
fastdtw/_fastdtw.cpp:22280:13: error: no member named 'exc_traceback' in '_ts'; did you
      mean 'curexc_traceback'?
    tstate->exc_traceback = tb;
            ^~~~~~~~~~~~~
            curexc_traceback
/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note:
      'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
fastdtw/_fastdtw.cpp:22335:24: error: no member named 'exc_type' in '_ts'
    tmp_type = tstate->exc_type;
               ~~~~~~  ^
fastdtw/_fastdtw.cpp:22336:25: error: no member named 'exc_value' in '_ts'; did you mean
      'curexc_value'?
    tmp_value = tstate->exc_value;
                        ^~~~~~~~~
                        curexc_value
/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note:
      'curexc_value' declared here
    PyObject *curexc_value;
              ^
fastdtw/_fastdtw.cpp:22337:22: error: no member named 'exc_traceback' in '_ts'; did you
      mean 'curexc_traceback'?
    tmp_tb = tstate->exc_traceback;
                     ^~~~~~~~~~~~~
                     curexc_traceback
/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note:
      'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
fastdtw/_fastdtw.cpp:22338:13: error: no member named 'exc_type' in '_ts'
    tstate->exc_type = local_type;
    ~~~~~~  ^
fastdtw/_fastdtw.cpp:22339:13: error: no member named 'exc_value' in '_ts'; did you mean
      'curexc_value'?
    tstate->exc_value = local_value;
            ^~~~~~~~~
            curexc_value
/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note:
      'curexc_value' declared here
    PyObject *curexc_value;
              ^
fastdtw/_fastdtw.cpp:22340:13: error: no member named 'exc_traceback' in '_ts'; did you
      mean 'curexc_traceback'?
    tstate->exc_traceback = local_tb;
            ^~~~~~~~~~~~~
            curexc_traceback
/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note:
      'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
fastdtw/_fastdtw.cpp:22575:24: error: no member named 'exc_type' in '_ts'
    tmp_type = tstate->exc_type;
               ~~~~~~  ^
fastdtw/_fastdtw.cpp:22576:25: error: no member named 'exc_value' in '_ts'; did you mean
      'curexc_value'?
    tmp_value = tstate->exc_value;
                        ^~~~~~~~~
                        curexc_value
/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note:
      'curexc_value' declared here
    PyObject *curexc_value;
              ^
fastdtw/_fastdtw.cpp:22577:22: error: no member named 'exc_traceback' in '_ts'; did you
      mean 'curexc_traceback'?
    tmp_tb = tstate->exc_traceback;
                     ^~~~~~~~~~~~~
                     curexc_traceback
/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note:
      'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
11 warnings and 20 errors generated.
setup.py:86: UserWarning: compilation failed. Installing pure python package
  warnings.warn(reason+'compilation failed. Installing pure python package')