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

Unable to install due to (I believe) Cython versioning error #154

Closed
George3d6 opened this issue May 30, 2019 · 3 comments
Closed

Unable to install due to (I believe) Cython versioning error #154

George3d6 opened this issue May 30, 2019 · 3 comments

Comments

@George3d6
Copy link

I seem to be unstable to run pip install for the requirements of this model. The error I get when gcc is called is:

  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c nnmnkwii/util/_linalg.c -o build/temp.linux-x86_64-3.7/nnmnkwii/util/_linalg.o -std=c99
  In file included from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
                   from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                   from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                   from nnmnkwii/util/_linalg.c:435:
  /usr/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   #warning "Using deprecated NumPy API, disable it with " \
    ^~~~~~~
  nnmnkwii/util/_linalg.c: In function ‘__Pyx_PyCFunction_FastCall’:
  nnmnkwii/util/_linalg.c:19563:13: error: too many arguments to function ‘(PyObject * (*)(PyObject *, PyObject * const*, Py_ssize_t))meth’
       return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
              ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  nnmnkwii/util/_linalg.c: In function ‘__Pyx__ExceptionSave’:
  nnmnkwii/util/_linalg.c:21039:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       *type = tstate->exc_type;
                       ^~~~~~~~
                       curexc_type
  nnmnkwii/util/_linalg.c:21040:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       *value = tstate->exc_value;
                        ^~~~~~~~~
                        curexc_value
  nnmnkwii/util/_linalg.c:21041:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       *tb = tstate->exc_traceback;
                     ^~~~~~~~~~~~~
                     curexc_traceback
  nnmnkwii/util/_linalg.c: In function ‘__Pyx__ExceptionReset’:
  nnmnkwii/util/_linalg.c:21048:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tmp_type = tstate->exc_type;
                          ^~~~~~~~
                          curexc_type
  nnmnkwii/util/_linalg.c:21049:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tmp_value = tstate->exc_value;
                           ^~~~~~~~~
                           curexc_value
  nnmnkwii/util/_linalg.c:21050:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tmp_tb = tstate->exc_traceback;
                        ^~~~~~~~~~~~~
                        curexc_traceback
  nnmnkwii/util/_linalg.c:21051:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tstate->exc_type = type;
               ^~~~~~~~
               curexc_type
  nnmnkwii/util/_linalg.c:21052:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tstate->exc_value = value;
               ^~~~~~~~~
               curexc_value
  nnmnkwii/util/_linalg.c:21053:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tstate->exc_traceback = tb;
               ^~~~~~~~~~~~~
               curexc_traceback
  nnmnkwii/util/_linalg.c: In function ‘__Pyx__GetException’:
  nnmnkwii/util/_linalg.c:21108:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tmp_type = tstate->exc_type;
                          ^~~~~~~~
                          curexc_type
  nnmnkwii/util/_linalg.c:21109:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tmp_value = tstate->exc_value;
                           ^~~~~~~~~
                           curexc_value
  nnmnkwii/util/_linalg.c:21110:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tmp_tb = tstate->exc_traceback;
                        ^~~~~~~~~~~~~
                        curexc_traceback
  nnmnkwii/util/_linalg.c:21111:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tstate->exc_type = local_type;
               ^~~~~~~~
               curexc_type
  nnmnkwii/util/_linalg.c:21112:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tstate->exc_value = local_value;
               ^~~~~~~~~
               curexc_value
  nnmnkwii/util/_linalg.c:21113:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tstate->exc_traceback = local_tb;
               ^~~~~~~~~~~~~
               curexc_traceback
  nnmnkwii/util/_linalg.c: In function ‘__Pyx__ExceptionSwap’:
  nnmnkwii/util/_linalg.c:21338:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tmp_type = tstate->exc_type;
                          ^~~~~~~~
                          curexc_type
  nnmnkwii/util/_linalg.c:21339:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tmp_value = tstate->exc_value;
                           ^~~~~~~~~
                           curexc_value
  nnmnkwii/util/_linalg.c:21340:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tmp_tb = tstate->exc_traceback;
                        ^~~~~~~~~~~~~
                        curexc_traceback
  nnmnkwii/util/_linalg.c:21341:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tstate->exc_type = *type;
               ^~~~~~~~
               curexc_type
  nnmnkwii/util/_linalg.c:21342:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tstate->exc_value = *value;
               ^~~~~~~~~
               curexc_value
  nnmnkwii/util/_linalg.c:21343:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tstate->exc_traceback = *tb;
               ^~~~~~~~~~~~~
               curexc_traceback
  error: command 'gcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for nnmnkwii
  Running setup.py clean for nnmnkwii
  Building wheel for bandmat (setup.py) ... error
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ukfo8kh7/bandmat/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-b09d00k6 --python-tag cp37:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_tensor.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_full.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_misc.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_core.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_linalg.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/testhelp.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_testhelp.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/__init__.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_overlap.py -> build/lib.linux-x86_64-3.7/bandmat
  running build_ext
  building 'bandmat.full' extension
  creating build/temp.linux-x86_64-3.7
  creating build/temp.linux-x86_64-3.7/bandmat
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c bandmat/full.c -o build/temp.linux-x86_64-3.7/bandmat/full.o -O3
  In file included from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
                   from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                   from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                   from bandmat/full.c:239:
  /usr/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   #warning "Using deprecated NumPy API, disable it with " \
    ^~~~~~~
  bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_band_c’:
  bandmat/full.c:1499:46: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
       for (__pyx_t_17 = __pyx_t_16; __pyx_t_17 < __pyx_t_13; __pyx_t_17+=1) {
                                                ^
  bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_2band_e’:
  bandmat/full.c:1853:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
       for (__pyx_t_14 = 0; __pyx_t_14 < __pyx_t_13; __pyx_t_14+=1) {
                                       ^
  bandmat/full.c:1863:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         if ((((__pyx_v_j + __pyx_v_i) < __pyx_v_size) != 0)) {
                                       ^
  bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_4zero_extra_entries’:
  bandmat/full.c:2131:35: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
       for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_2; __pyx_t_5+=1) {
                                     ^
  bandmat/full.c:2182:43: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
       for (__pyx_t_5 = __pyx_t_9; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
                                             ^
  bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_10band_cTe’:
  bandmat/full.c:3023:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
       for (__pyx_t_15 = 0; __pyx_t_15 < __pyx_t_14; __pyx_t_15+=1) {
                                       ^
  bandmat/full.c:3033:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         if ((((__pyx_v_j - __pyx_v_i) < __pyx_v_size) != 0)) {
                                       ^
  gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-3.7/bandmat/full.o -L/usr/lib -lpython3.7m -o build/lib.linux-x86_64-3.7/bandmat/full.cpython-37m-x86_64-linux-gnu.so
  building 'bandmat.core' extension
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c bandmat/core.c -o build/temp.linux-x86_64-3.7/bandmat/core.o -O3
  In file included from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
                   from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                   from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                   from bandmat/core.c:239:
  /usr/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   #warning "Using deprecated NumPy API, disable it with " \
    ^~~~~~~
  bandmat/core.c: In function ‘__pyx_pf_7bandmat_4core_7BandMat_16plus_equals_band_of’:
  bandmat/core.c:4088:46: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
       for (__pyx_t_15 = __pyx_t_14; __pyx_t_15 < __pyx_t_9; __pyx_t_15+=1) {
                                                ^
  bandmat/core.c: In function ‘__Pyx_ExceptionSave’:
  bandmat/core.c:15606:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       *type = tstate->exc_type;
                       ^~~~~~~~
                       curexc_type
  bandmat/core.c:15607:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       *value = tstate->exc_value;
                        ^~~~~~~~~
                        curexc_value
  bandmat/core.c:15608:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       *tb = tstate->exc_traceback;
                     ^~~~~~~~~~~~~
                     curexc_traceback
  bandmat/core.c: In function ‘__Pyx_ExceptionReset’:
  bandmat/core.c:15620:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tmp_type = tstate->exc_type;
                          ^~~~~~~~
                          curexc_type
  bandmat/core.c:15621:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tmp_value = tstate->exc_value;
                           ^~~~~~~~~
                           curexc_value
  bandmat/core.c:15622:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tmp_tb = tstate->exc_traceback;
                        ^~~~~~~~~~~~~
                        curexc_traceback
  bandmat/core.c:15623:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tstate->exc_type = type;
               ^~~~~~~~
               curexc_type
  bandmat/core.c:15624:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tstate->exc_value = value;
               ^~~~~~~~~
               curexc_value
  bandmat/core.c:15625:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tstate->exc_traceback = tb;
               ^~~~~~~~~~~~~
               curexc_traceback
  bandmat/core.c: In function ‘__Pyx_GetException’:
  bandmat/core.c:15668:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tmp_type = tstate->exc_type;
                          ^~~~~~~~
                          curexc_type
  bandmat/core.c:15669:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tmp_value = tstate->exc_value;
                           ^~~~~~~~~
                           curexc_value
  bandmat/core.c:15670:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tmp_tb = tstate->exc_traceback;
                        ^~~~~~~~~~~~~
                        curexc_traceback
  bandmat/core.c:15671:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tstate->exc_type = local_type;
               ^~~~~~~~
               curexc_type
  bandmat/core.c:15672:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tstate->exc_value = local_value;
               ^~~~~~~~~
               curexc_value
  bandmat/core.c:15673:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tstate->exc_traceback = local_tb;
               ^~~~~~~~~~~~~
               curexc_traceback
  error: command 'gcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for bandmat
  Running setup.py clean for bandmat
Failed to build nnmnkwii bandmat
Installing collected packages: bandmat, fastdtw, sklearn, pysptk, nnmnkwii
  Running setup.py install for bandmat ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ukfo8kh7/bandmat/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-uyva823f/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.7
    creating build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_tensor.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_full.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_misc.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_core.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_linalg.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/testhelp.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_testhelp.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/__init__.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_overlap.py -> build/lib.linux-x86_64-3.7/bandmat
    running build_ext
    building 'bandmat.full' extension
    creating build/temp.linux-x86_64-3.7
    creating build/temp.linux-x86_64-3.7/bandmat
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c bandmat/full.c -o build/temp.linux-x86_64-3.7/bandmat/full.o -O3
    In file included from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
                     from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from bandmat/full.c:239:
    /usr/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_band_c’:
    bandmat/full.c:1499:46: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         for (__pyx_t_17 = __pyx_t_16; __pyx_t_17 < __pyx_t_13; __pyx_t_17+=1) {
                                                  ^
    bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_2band_e’:
    bandmat/full.c:1853:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         for (__pyx_t_14 = 0; __pyx_t_14 < __pyx_t_13; __pyx_t_14+=1) {
                                         ^
    bandmat/full.c:1863:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
           if ((((__pyx_v_j + __pyx_v_i) < __pyx_v_size) != 0)) {
                                         ^
    bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_4zero_extra_entries’:
    bandmat/full.c:2131:35: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_2; __pyx_t_5+=1) {
                                       ^
    bandmat/full.c:2182:43: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         for (__pyx_t_5 = __pyx_t_9; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
                                               ^
    bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_10band_cTe’:
    bandmat/full.c:3023:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         for (__pyx_t_15 = 0; __pyx_t_15 < __pyx_t_14; __pyx_t_15+=1) {
                                         ^
    bandmat/full.c:3033:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
           if ((((__pyx_v_j - __pyx_v_i) < __pyx_v_size) != 0)) {
                                         ^
    gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-3.7/bandmat/full.o -L/usr/lib -lpython3.7m -o build/lib.linux-x86_64-3.7/bandmat/full.cpython-37m-x86_64-linux-gnu.so
    building 'bandmat.core' extension
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c bandmat/core.c -o build/temp.linux-x86_64-3.7/bandmat/core.o -O3
    In file included from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
                     from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from bandmat/core.c:239:
    /usr/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    bandmat/core.c: In function ‘__pyx_pf_7bandmat_4core_7BandMat_16plus_equals_band_of’:
    bandmat/core.c:4088:46: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         for (__pyx_t_15 = __pyx_t_14; __pyx_t_15 < __pyx_t_9; __pyx_t_15+=1) {
                                                  ^
    bandmat/core.c: In function ‘__Pyx_ExceptionSave’:
    bandmat/core.c:15606:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
         *type = tstate->exc_type;
                         ^~~~~~~~
                         curexc_type
    bandmat/core.c:15607:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
         *value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
    bandmat/core.c:15608:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
         *tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
    bandmat/core.c: In function ‘__Pyx_ExceptionReset’:
    bandmat/core.c:15620:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
         tmp_type = tstate->exc_type;
                            ^~~~~~~~
                            curexc_type
    bandmat/core.c:15621:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
         tmp_value = tstate->exc_value;
                             ^~~~~~~~~
                             curexc_value
    bandmat/core.c:15622:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
         tmp_tb = tstate->exc_traceback;
                          ^~~~~~~~~~~~~
                          curexc_traceback
    bandmat/core.c:15623:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
         tstate->exc_type = type;
                 ^~~~~~~~
                 curexc_type
    bandmat/core.c:15624:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
         tstate->exc_value = value;
                 ^~~~~~~~~
                 curexc_value
    bandmat/core.c:15625:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
         tstate->exc_traceback = tb;
                 ^~~~~~~~~~~~~
                 curexc_traceback
    bandmat/core.c: In function ‘__Pyx_GetException’:
    bandmat/core.c:15668:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
         tmp_type = tstate->exc_type;
                            ^~~~~~~~
                            curexc_type
    bandmat/core.c:15669:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
         tmp_value = tstate->exc_value;
                             ^~~~~~~~~
                             curexc_value
    bandmat/core.c:15670:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
         tmp_tb = tstate->exc_traceback;
                          ^~~~~~~~~~~~~
                          curexc_traceback
    bandmat/core.c:15671:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
         tstate->exc_type = local_type;
                 ^~~~~~~~
                 curexc_type
    bandmat/core.c:15672:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
         tstate->exc_value = local_value;
                 ^~~~~~~~~
                 curexc_value
    bandmat/core.c:15673:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
         tstate->exc_traceback = local_tb;
                 ^~~~~~~~~~~~~
                 curexc_traceback
    error: command 'gcc' failed with exit status 1
    
    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ukfo8kh7/bandmat/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c nnmnkwii/util/_linalg.c -o build/temp.linux-x86_64-3.7/nnmnkwii/util/_linalg.o -std=c99
  In file included from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
                   from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                   from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                   from nnmnkwii/util/_linalg.c:435:
  /usr/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   #warning "Using deprecated NumPy API, disable it with " \
    ^~~~~~~
  nnmnkwii/util/_linalg.c: In function ‘__Pyx_PyCFunction_FastCall’:
  nnmnkwii/util/_linalg.c:19563:13: error: too many arguments to function ‘(PyObject * (*)(PyObject *, PyObject * const*, Py_ssize_t))meth’
       return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
              ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  nnmnkwii/util/_linalg.c: In function ‘__Pyx__ExceptionSave’:
  nnmnkwii/util/_linalg.c:21039:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       *type = tstate->exc_type;
                       ^~~~~~~~
                       curexc_type
  nnmnkwii/util/_linalg.c:21040:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       *value = tstate->exc_value;
                        ^~~~~~~~~
                        curexc_value
  nnmnkwii/util/_linalg.c:21041:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       *tb = tstate->exc_traceback;
                     ^~~~~~~~~~~~~
                     curexc_traceback
  nnmnkwii/util/_linalg.c: In function ‘__Pyx__ExceptionReset’:
  nnmnkwii/util/_linalg.c:21048:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tmp_type = tstate->exc_type;
                          ^~~~~~~~
                          curexc_type
  nnmnkwii/util/_linalg.c:21049:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tmp_value = tstate->exc_value;
                           ^~~~~~~~~
                           curexc_value
  nnmnkwii/util/_linalg.c:21050:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tmp_tb = tstate->exc_traceback;
                        ^~~~~~~~~~~~~
                        curexc_traceback
  nnmnkwii/util/_linalg.c:21051:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tstate->exc_type = type;
               ^~~~~~~~
               curexc_type
  nnmnkwii/util/_linalg.c:21052:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tstate->exc_value = value;
               ^~~~~~~~~
               curexc_value
  nnmnkwii/util/_linalg.c:21053:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tstate->exc_traceback = tb;
               ^~~~~~~~~~~~~
               curexc_traceback
  nnmnkwii/util/_linalg.c: In function ‘__Pyx__GetException’:
  nnmnkwii/util/_linalg.c:21108:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tmp_type = tstate->exc_type;
                          ^~~~~~~~
                          curexc_type
  nnmnkwii/util/_linalg.c:21109:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tmp_value = tstate->exc_value;
                           ^~~~~~~~~
                           curexc_value
  nnmnkwii/util/_linalg.c:21110:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tmp_tb = tstate->exc_traceback;
                        ^~~~~~~~~~~~~
                        curexc_traceback
  nnmnkwii/util/_linalg.c:21111:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tstate->exc_type = local_type;
               ^~~~~~~~
               curexc_type
  nnmnkwii/util/_linalg.c:21112:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tstate->exc_value = local_value;
               ^~~~~~~~~
               curexc_value
  nnmnkwii/util/_linalg.c:21113:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tstate->exc_traceback = local_tb;
               ^~~~~~~~~~~~~
               curexc_traceback
  nnmnkwii/util/_linalg.c: In function ‘__Pyx__ExceptionSwap’:
  nnmnkwii/util/_linalg.c:21338:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tmp_type = tstate->exc_type;
                          ^~~~~~~~
                          curexc_type
  nnmnkwii/util/_linalg.c:21339:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tmp_value = tstate->exc_value;
                           ^~~~~~~~~
                           curexc_value
  nnmnkwii/util/_linalg.c:21340:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tmp_tb = tstate->exc_traceback;
                        ^~~~~~~~~~~~~
                        curexc_traceback
  nnmnkwii/util/_linalg.c:21341:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tstate->exc_type = *type;
               ^~~~~~~~
               curexc_type
  nnmnkwii/util/_linalg.c:21342:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tstate->exc_value = *value;
               ^~~~~~~~~
               curexc_value
  nnmnkwii/util/_linalg.c:21343:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tstate->exc_traceback = *tb;
               ^~~~~~~~~~~~~
               curexc_traceback
  error: command 'gcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for nnmnkwii
  Running setup.py clean for nnmnkwii
  Building wheel for bandmat (setup.py) ... error
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ukfo8kh7/bandmat/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-b09d00k6 --python-tag cp37:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_tensor.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_full.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_misc.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_core.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_linalg.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/testhelp.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_testhelp.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/__init__.py -> build/lib.linux-x86_64-3.7/bandmat
  copying bandmat/test_overlap.py -> build/lib.linux-x86_64-3.7/bandmat
  running build_ext
  building 'bandmat.full' extension
  creating build/temp.linux-x86_64-3.7
  creating build/temp.linux-x86_64-3.7/bandmat
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c bandmat/full.c -o build/temp.linux-x86_64-3.7/bandmat/full.o -O3
  In file included from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
                   from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                   from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                   from bandmat/full.c:239:
  /usr/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   #warning "Using deprecated NumPy API, disable it with " \
    ^~~~~~~
  bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_band_c’:
  bandmat/full.c:1499:46: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
       for (__pyx_t_17 = __pyx_t_16; __pyx_t_17 < __pyx_t_13; __pyx_t_17+=1) {
                                                ^
  bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_2band_e’:
  bandmat/full.c:1853:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
       for (__pyx_t_14 = 0; __pyx_t_14 < __pyx_t_13; __pyx_t_14+=1) {
                                       ^
  bandmat/full.c:1863:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         if ((((__pyx_v_j + __pyx_v_i) < __pyx_v_size) != 0)) {
                                       ^
  bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_4zero_extra_entries’:
  bandmat/full.c:2131:35: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
       for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_2; __pyx_t_5+=1) {
                                     ^
  bandmat/full.c:2182:43: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
       for (__pyx_t_5 = __pyx_t_9; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
                                             ^
  bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_10band_cTe’:
  bandmat/full.c:3023:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
       for (__pyx_t_15 = 0; __pyx_t_15 < __pyx_t_14; __pyx_t_15+=1) {
                                       ^
  bandmat/full.c:3033:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         if ((((__pyx_v_j - __pyx_v_i) < __pyx_v_size) != 0)) {
                                       ^
  gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-3.7/bandmat/full.o -L/usr/lib -lpython3.7m -o build/lib.linux-x86_64-3.7/bandmat/full.cpython-37m-x86_64-linux-gnu.so
  building 'bandmat.core' extension
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c bandmat/core.c -o build/temp.linux-x86_64-3.7/bandmat/core.o -O3
  In file included from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
                   from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                   from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                   from bandmat/core.c:239:
  /usr/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   #warning "Using deprecated NumPy API, disable it with " \
    ^~~~~~~
  bandmat/core.c: In function ‘__pyx_pf_7bandmat_4core_7BandMat_16plus_equals_band_of’:
  bandmat/core.c:4088:46: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
       for (__pyx_t_15 = __pyx_t_14; __pyx_t_15 < __pyx_t_9; __pyx_t_15+=1) {
                                                ^
  bandmat/core.c: In function ‘__Pyx_ExceptionSave’:
  bandmat/core.c:15606:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       *type = tstate->exc_type;
                       ^~~~~~~~
                       curexc_type
  bandmat/core.c:15607:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       *value = tstate->exc_value;
                        ^~~~~~~~~
                        curexc_value
  bandmat/core.c:15608:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       *tb = tstate->exc_traceback;
                     ^~~~~~~~~~~~~
                     curexc_traceback
  bandmat/core.c: In function ‘__Pyx_ExceptionReset’:
  bandmat/core.c:15620:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tmp_type = tstate->exc_type;
                          ^~~~~~~~
                          curexc_type
  bandmat/core.c:15621:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tmp_value = tstate->exc_value;
                           ^~~~~~~~~
                           curexc_value
  bandmat/core.c:15622:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tmp_tb = tstate->exc_traceback;
                        ^~~~~~~~~~~~~
                        curexc_traceback
  bandmat/core.c:15623:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tstate->exc_type = type;
               ^~~~~~~~
               curexc_type
  bandmat/core.c:15624:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tstate->exc_value = value;
               ^~~~~~~~~
               curexc_value
  bandmat/core.c:15625:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tstate->exc_traceback = tb;
               ^~~~~~~~~~~~~
               curexc_traceback
  bandmat/core.c: In function ‘__Pyx_GetException’:
  bandmat/core.c:15668:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tmp_type = tstate->exc_type;
                          ^~~~~~~~
                          curexc_type
  bandmat/core.c:15669:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tmp_value = tstate->exc_value;
                           ^~~~~~~~~
                           curexc_value
  bandmat/core.c:15670:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tmp_tb = tstate->exc_traceback;
                        ^~~~~~~~~~~~~
                        curexc_traceback
  bandmat/core.c:15671:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
       tstate->exc_type = local_type;
               ^~~~~~~~
               curexc_type
  bandmat/core.c:15672:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
       tstate->exc_value = local_value;
               ^~~~~~~~~
               curexc_value
  bandmat/core.c:15673:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
       tstate->exc_traceback = local_tb;
               ^~~~~~~~~~~~~
               curexc_traceback
  error: command 'gcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for bandmat
  Running setup.py clean for bandmat
Failed to build nnmnkwii bandmat
Installing collected packages: bandmat, fastdtw, sklearn, pysptk, nnmnkwii
  Running setup.py install for bandmat ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ukfo8kh7/bandmat/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-uyva823f/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.7
    creating build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_tensor.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_full.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_misc.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_core.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_linalg.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/testhelp.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_testhelp.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/__init__.py -> build/lib.linux-x86_64-3.7/bandmat
    copying bandmat/test_overlap.py -> build/lib.linux-x86_64-3.7/bandmat
    running build_ext
    building 'bandmat.full' extension
    creating build/temp.linux-x86_64-3.7
    creating build/temp.linux-x86_64-3.7/bandmat
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c bandmat/full.c -o build/temp.linux-x86_64-3.7/bandmat/full.o -O3
    In file included from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
                     from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from bandmat/full.c:239:
    /usr/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_band_c’:
    bandmat/full.c:1499:46: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         for (__pyx_t_17 = __pyx_t_16; __pyx_t_17 < __pyx_t_13; __pyx_t_17+=1) {
                                                  ^
    bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_2band_e’:
    bandmat/full.c:1853:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         for (__pyx_t_14 = 0; __pyx_t_14 < __pyx_t_13; __pyx_t_14+=1) {
                                         ^
    bandmat/full.c:1863:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
           if ((((__pyx_v_j + __pyx_v_i) < __pyx_v_size) != 0)) {
                                         ^
    bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_4zero_extra_entries’:
    bandmat/full.c:2131:35: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_2; __pyx_t_5+=1) {
                                       ^
    bandmat/full.c:2182:43: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         for (__pyx_t_5 = __pyx_t_9; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
                                               ^
    bandmat/full.c: In function ‘__pyx_pf_7bandmat_4full_10band_cTe’:
    bandmat/full.c:3023:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         for (__pyx_t_15 = 0; __pyx_t_15 < __pyx_t_14; __pyx_t_15+=1) {
                                         ^
    bandmat/full.c:3033:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
           if ((((__pyx_v_j - __pyx_v_i) < __pyx_v_size) != 0)) {
                                         ^
    gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-3.7/bandmat/full.o -L/usr/lib -lpython3.7m -o build/lib.linux-x86_64-3.7/bandmat/full.cpython-37m-x86_64-linux-gnu.so
    building 'bandmat.core' extension
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c bandmat/core.c -o build/temp.linux-x86_64-3.7/bandmat/core.o -O3
    In file included from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
                     from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /usr/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from bandmat/core.c:239:
    /usr/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    bandmat/core.c: In function ‘__pyx_pf_7bandmat_4core_7BandMat_16plus_equals_band_of’:
    bandmat/core.c:4088:46: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
         for (__pyx_t_15 = __pyx_t_14; __pyx_t_15 < __pyx_t_9; __pyx_t_15+=1) {
                                                  ^
    bandmat/core.c: In function ‘__Pyx_ExceptionSave’:
    bandmat/core.c:15606:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
         *type = tstate->exc_type;
                         ^~~~~~~~
                         curexc_type
    bandmat/core.c:15607:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
         *value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
    bandmat/core.c:15608:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
         *tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
    bandmat/core.c: In function ‘__Pyx_ExceptionReset’:
    bandmat/core.c:15620:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
         tmp_type = tstate->exc_type;
                            ^~~~~~~~
                            curexc_type
    bandmat/core.c:15621:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
         tmp_value = tstate->exc_value;
                             ^~~~~~~~~
                             curexc_value
    bandmat/core.c:15622:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
         tmp_tb = tstate->exc_traceback;
                          ^~~~~~~~~~~~~
                          curexc_traceback
    bandmat/core.c:15623:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
         tstate->exc_type = type;
                 ^~~~~~~~
                 curexc_type
    bandmat/core.c:15624:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
         tstate->exc_value = value;
                 ^~~~~~~~~
                 curexc_value
    bandmat/core.c:15625:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
         tstate->exc_traceback = tb;
                 ^~~~~~~~~~~~~
                 curexc_traceback
    bandmat/core.c: In function ‘__Pyx_GetException’:
    bandmat/core.c:15668:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
         tmp_type = tstate->exc_type;
                            ^~~~~~~~
                            curexc_type
    bandmat/core.c:15669:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
         tmp_value = tstate->exc_value;
                             ^~~~~~~~~
                             curexc_value
    bandmat/core.c:15670:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
         tmp_tb = tstate->exc_traceback;
                          ^~~~~~~~~~~~~
                          curexc_traceback
    bandmat/core.c:15671:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
         tstate->exc_type = local_type;
                 ^~~~~~~~
                 curexc_type
    bandmat/core.c:15672:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
         tstate->exc_value = local_value;
                 ^~~~~~~~~
                 curexc_value
    bandmat/core.c:15673:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
         tstate->exc_traceback = local_tb;
                 ^~~~~~~~~~~~~
                 curexc_traceback
    error: command 'gcc' failed with exit status 1
    
    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ukfo8kh7/bandmat/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-uyva823f/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-ukfo8kh7/bandmat/(code, __file__, 'exec'))" install --record /tmp/pip-record-uyva823f/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-ukfo8kh7/bandmat/

Quite long but I think it boils down to some files being already generated with a version of Cython older than what I have locally.

Would you have any ideas how I could go forward in fixing this error ? Would it be possible to add the correct cython version to a requirement file and other possible dependencies which may be miss-matched on certain systems ?

@George3d6
Copy link
Author

Update: I managed to get this working by switching to a python3.6 vritualenv and installing the default versions of tensorflow, numpy and matplotlib.

But it would still be nice to know what are some of the library versions with which this repo work on the machines of the devs.

r9y9 added a commit that referenced this issue May 30, 2019
@r9y9
Copy link
Owner

r9y9 commented May 30, 2019

Looks like there's a problem on python 3.7. If MattShannon/bandmat#10 is fixed, it should run on python 3.7 as well (I'll fix nnmnkwii aftewards).

For now, I've added a notice on README 8d5cd46. Sorry for the inconvenience.

Ref: cython/cython#1955, cython/cython#1956, biolab/orange3#3067, MattShannon/bandmat#10 (comment)

@r9y9
Copy link
Owner

r9y9 commented Jul 6, 2019

With a new release of nnmnkwii, this should be fixed now. Feel free to reopen if the issue persists.

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

2 participants