AmazaspShumik / sklearn-bayes

Python package for Bayesian Machine Learning with scikit-learn API
MIT License
513 stars 118 forks source link

Cannot install on OS X 10.15 #48

Open eloquentarduino opened 3 years ago

eloquentarduino commented 3 years ago

I get the following errors when trying to install

(venv) simone ~/PycharmProjects/project $ pip install Cython
Collecting Cython
  Downloading Cython-0.29.21-cp37-cp37m-macosx_10_9_x86_64.whl (1.9 MB)
     |████████████████████████████████| 1.9 MB 1.3 MB/s 
Installing collected packages: Cython
Successfully installed Cython-0.29.21
WARNING: You are using pip version 20.2.4; however, version 20.3.3 is available.
You should consider upgrading via the '/Users/simone/PycharmProjects/project/venv/bin/python -m pip install --upgrade pip' command.
(venv) simone ~/PycharmProjects/project $ pip install https://github.com/AmazaspShumik/sklearn_bayes/archive/master.zip
Collecting https://github.com/AmazaspShumik/sklearn_bayes/archive/master.zip
  Downloading https://github.com/AmazaspShumik/sklearn_bayes/archive/master.zip
     \ 4.3 MB 255 kB/s
Requirement already satisfied: numpy>=1.9.2 in ./venv/lib/python3.7/site-packages (from skbayes==0.1.0a1) (1.18.5)
Requirement already satisfied: scipy>=0.15.1 in ./venv/lib/python3.7/site-packages (from skbayes==0.1.0a1) (1.5.4)
Requirement already satisfied: scikit-learn>=0.17 in ./venv/lib/python3.7/site-packages (from skbayes==0.1.0a1) (0.23.2)
Requirement already satisfied: cython>=0.24 in ./venv/lib/python3.7/site-packages (from skbayes==0.1.0a1) (0.29.21)
Requirement already satisfied: threadpoolctl>=2.0.0 in ./venv/lib/python3.7/site-packages (from scikit-learn>=0.17->skbayes==0.1.0a1) (2.1.0)
Requirement already satisfied: joblib>=0.11 in ./venv/lib/python3.7/site-packages (from scikit-learn>=0.17->skbayes==0.1.0a1) (0.17.0)
Building wheels for collected packages: skbayes
  Building wheel for skbayes (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/simone/PycharmProjects/project/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/dj/krrkt8p95qndhg46m2n774d80000gn/T/pip-req-build-97u7n087/setup.py'"'"'; __file__='"'"'/private/var/folders/dj/krrkt8p95qndhg46m2n774d80000gn/T/pip-req-build-97u7n087/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 /private/var/folders/dj/krrkt8p95qndhg46m2n774d80000gn/T/pip-wheel-94r0n98w
       cwd: /private/var/folders/dj/krrkt8p95qndhg46m2n774d80000gn/T/pip-req-build-97u7n087/
  Complete output (275 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.15-x86_64-3.7
  creating build/lib.macosx-10.15-x86_64-3.7/skbayes
  copying skbayes/__init__.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes
  creating build/lib.macosx-10.15-x86_64-3.7/skbayes/decomposition_models
  copying skbayes/decomposition_models/__init__.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/decomposition_models
  copying skbayes/decomposition_models/rbm.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/decomposition_models
  creating build/lib.macosx-10.15-x86_64-3.7/skbayes/mixture_models
  copying skbayes/mixture_models/dpmixture.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/mixture_models
  copying skbayes/mixture_models/mixture.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/mixture_models
  copying skbayes/mixture_models/__init__.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/mixture_models
  creating build/lib.macosx-10.15-x86_64-3.7/skbayes/hidden_markov_models
  copying skbayes/hidden_markov_models/__init__.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/hidden_markov_models
  creating build/lib.macosx-10.15-x86_64-3.7/skbayes/rvm_ard_models
  copying skbayes/rvm_ard_models/fast_rvm.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/rvm_ard_models
  copying skbayes/rvm_ard_models/__init__.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/rvm_ard_models
  copying skbayes/rvm_ard_models/vrvm.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/rvm_ard_models
  creating build/lib.macosx-10.15-x86_64-3.7/skbayes/linear_models
  copying skbayes/linear_models/bayes_logistic.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/linear_models
  copying skbayes/linear_models/__init__.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/linear_models
  copying skbayes/linear_models/bayes_linear.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/linear_models
  running build_ext
  building 'skbayes.decomposition_models.gibbs_lda_cython' extension
  Warning: Can't read registry to find the necessary compiler setting
  Make sure that Python modules winreg, win32api or win32con are installed.
  C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include

  creating build/temp.macosx-10.15-x86_64-3.7
  creating build/temp.macosx-10.15-x86_64-3.7/skbayes
  creating build/temp.macosx-10.15-x86_64-3.7/skbayes/decomposition_models
  compile options: '-I/Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include -I/Users/simone/PycharmProjects/project/venv/include -I/Users/simone/.pyenv/versions/3.7.3/include/python3.7m -c'
  extra options: '-O3'
  clang: skbayes/decomposition_models/gibbs_lda_cython.c
  In file included from skbayes/decomposition_models/gibbs_lda_cython.c:280:
  In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
  In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
  In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832:
  /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
  #warning "Using deprecated NumPy API, disable it with " \
   ^
  In file included from skbayes/decomposition_models/gibbs_lda_cython.c:280:
  In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
  In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:21:
  /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1463:1: warning: unused function '_import_array' [-Wunused-function]
  _import_array(void)
  ^
  skbayes/decomposition_models/gibbs_lda_cython.c:15698:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
  static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
                             ^
  skbayes/decomposition_models/gibbs_lda_cython.c:15695:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
  static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:15810:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
  static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
                                  ^
  skbayes/decomposition_models/gibbs_lda_cython.c:15872:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
  static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
                                  ^
  skbayes/decomposition_models/gibbs_lda_cython.c:13196:32: warning: unused function '__Pyx_GetItemInt_List_Fast' [-Wunused-function]
  static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:13211:32: warning: unused function '__Pyx_GetItemInt_Tuple_Fast' [-Wunused-function]
  static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:14404:28: warning: unused function '__Pyx_CyFunction_InitDefaults' [-Wunused-function]
  static CYTHON_INLINE void *__Pyx_CyFunction_InitDefaults(PyObject *func, size_t size, int pyobjects) {
                             ^
  skbayes/decomposition_models/gibbs_lda_cython.c:14418:27: warning: unused function '__Pyx_CyFunction_SetDefaultsKwDict' [-Wunused-function]
  static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *func, PyObject *dict) {
                            ^
  skbayes/decomposition_models/gibbs_lda_cython.c:14423:27: warning: unused function '__Pyx_CyFunction_SetAnnotationsDict' [-Wunused-function]
  static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, PyObject *dict) {
                            ^
  skbayes/decomposition_models/gibbs_lda_cython.c:14899:48: warning: unused function '__pyx_t_float_complex_from_parts' [-Wunused-function]
      static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float x, float y) {
                                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:14910:30: warning: unused function '__Pyx_c_eqf' [-Wunused-function]
      static CYTHON_INLINE int __Pyx_c_eqf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
                               ^
  skbayes/decomposition_models/gibbs_lda_cython.c:14913:48: warning: unused function '__Pyx_c_sumf' [-Wunused-function]
      static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sumf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
                                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:14919:48: warning: unused function '__Pyx_c_difff' [-Wunused-function]
      static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_difff(__pyx_t_float_complex a, __pyx_t_float_complex b) {
                                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:14931:48: warning: unused function '__Pyx_c_quotf' [-Wunused-function]
      static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quotf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
                                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:14938:48: warning: unused function '__Pyx_c_negf' [-Wunused-function]
      static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_negf(__pyx_t_float_complex a) {
                                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:14944:30: warning: unused function '__Pyx_c_is_zerof' [-Wunused-function]
      static CYTHON_INLINE int __Pyx_c_is_zerof(__pyx_t_float_complex a) {
                               ^
  skbayes/decomposition_models/gibbs_lda_cython.c:14947:48: warning: unused function '__Pyx_c_conjf' [-Wunused-function]
      static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conjf(__pyx_t_float_complex a) {
                                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:14961:52: warning: unused function '__Pyx_c_powf' [-Wunused-function]
          static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_powf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
                                                     ^
  skbayes/decomposition_models/gibbs_lda_cython.c:15021:49: warning: unused function '__pyx_t_double_complex_from_parts' [-Wunused-function]
      static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double x, double y) {
                                                  ^
  skbayes/decomposition_models/gibbs_lda_cython.c:15032:30: warning: unused function '__Pyx_c_eq' [-Wunused-function]
      static CYTHON_INLINE int __Pyx_c_eq(__pyx_t_double_complex a, __pyx_t_double_complex b) {
                               ^
  skbayes/decomposition_models/gibbs_lda_cython.c:15035:49: warning: unused function '__Pyx_c_sum' [-Wunused-function]
      static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum(__pyx_t_double_complex a, __pyx_t_double_complex b) {
                                                  ^
  skbayes/decomposition_models/gibbs_lda_cython.c:15041:49: warning: unused function '__Pyx_c_diff' [-Wunused-function]
      static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff(__pyx_t_double_complex a, __pyx_t_double_complex b) {
                                                  ^
  skbayes/decomposition_models/gibbs_lda_cython.c:15053:49: warning: unused function '__Pyx_c_quot' [-Wunused-function]
      static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot(__pyx_t_double_complex a, __pyx_t_double_complex b) {
                                                  ^
  skbayes/decomposition_models/gibbs_lda_cython.c:15060:49: warning: unused function '__Pyx_c_neg' [-Wunused-function]
      static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg(__pyx_t_double_complex a) {
                                                  ^
  skbayes/decomposition_models/gibbs_lda_cython.c:15066:30: warning: unused function '__Pyx_c_is_zero' [-Wunused-function]
      static CYTHON_INLINE int __Pyx_c_is_zero(__pyx_t_double_complex a) {
                               ^
  skbayes/decomposition_models/gibbs_lda_cython.c:15069:49: warning: unused function '__Pyx_c_conj' [-Wunused-function]
      static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj(__pyx_t_double_complex a) {
                                                  ^
  skbayes/decomposition_models/gibbs_lda_cython.c:15083:53: warning: unused function '__Pyx_c_pow' [-Wunused-function]
          static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow(__pyx_t_double_complex a, __pyx_t_double_complex b) {
                                                      ^
  skbayes/decomposition_models/gibbs_lda_cython.c:9832:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew1' [-Wunused-function]
  static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__pyx_v_a) {
                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:9879:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew2' [-Wunused-function]
  static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__pyx_v_a, PyObject *__pyx_v_b) {
                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:9926:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew3' [-Wunused-function]
  static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c) {
                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:9973:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew4' [-Wunused-function]
  static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d) {
                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:10020:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew5' [-Wunused-function]
  static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d, PyObject *__pyx_v_e) {
                                 ^
  skbayes/decomposition_models/gibbs_lda_cython.c:10822:27: warning: unused function '__pyx_f_5numpy_set_array_base' [-Wunused-function]
  static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
                            ^
  skbayes/decomposition_models/gibbs_lda_cython.c:10918:32: warning: unused function '__pyx_f_5numpy_get_array_base' [-Wunused-function]
  static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__pyx_v_arr) {
                                 ^
  36 warnings generated.
  clang -bundle -undefined dynamic_lookup -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/simone/.pyenv/versions/3.7.3/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/simone/.pyenv/versions/3.7.3/lib build/temp.macosx-10.15-x86_64-3.7/skbayes/decomposition_models/gibbs_lda_cython.o -L/Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/lib -lnpymath -o build/lib.macosx-10.15-x86_64-3.7/skbayes/decomposition_models/gibbs_lda_cython.cpython-37m-darwin.so
  building 'skbayes.hidden_markov_models.hmm' extension
  C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include

  creating build/temp.macosx-10.15-x86_64-3.7/skbayes/hidden_markov_models
  compile options: '-I/Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include -I/Users/simone/PycharmProjects/project/venv/include -I/Users/simone/.pyenv/versions/3.7.3/include/python3.7m -c'
  extra options: '-O3'
  clang: skbayes/hidden_markov_models/hmm.c
  In file included from skbayes/hidden_markov_models/hmm.c:280:
  In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
  In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
  In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832:
  /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
  #warning "Using deprecated NumPy API, disable it with " \
   ^
  skbayes/hidden_markov_models/hmm.c:28348:21: error: no member named 'exc_type' in 'struct _ts'
      *type = tstate->exc_type;
              ~~~~~~  ^
  skbayes/hidden_markov_models/hmm.c:28349:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      *value = tstate->exc_value;
                       ^~~~~~~~~
                       curexc_value
  /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  skbayes/hidden_markov_models/hmm.c:28350:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      *tb = tstate->exc_traceback;
                    ^~~~~~~~~~~~~
                    curexc_traceback
  /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  skbayes/hidden_markov_models/hmm.c:28357:24: error: no member named 'exc_type' in 'struct _ts'
      tmp_type = tstate->exc_type;
                 ~~~~~~  ^
  skbayes/hidden_markov_models/hmm.c:28358:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tmp_value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
  /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  skbayes/hidden_markov_models/hmm.c:28359:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tmp_tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
  /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  skbayes/hidden_markov_models/hmm.c:28360:13: error: no member named 'exc_type' in 'struct _ts'
      tstate->exc_type = type;
      ~~~~~~  ^
  skbayes/hidden_markov_models/hmm.c:28361:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tstate->exc_value = value;
              ^~~~~~~~~
              curexc_value
  /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  skbayes/hidden_markov_models/hmm.c:28362:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tstate->exc_traceback = tb;
              ^~~~~~~~~~~~~
              curexc_traceback
  /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  skbayes/hidden_markov_models/hmm.c:28407:24: error: no member named 'exc_type' in 'struct _ts'
      tmp_type = tstate->exc_type;
                 ~~~~~~  ^
  skbayes/hidden_markov_models/hmm.c:28408:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tmp_value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
  /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  skbayes/hidden_markov_models/hmm.c:28409:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tmp_tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
  /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  skbayes/hidden_markov_models/hmm.c:28410:13: error: no member named 'exc_type' in 'struct _ts'
      tstate->exc_type = local_type;
      ~~~~~~  ^
  skbayes/hidden_markov_models/hmm.c:28411:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tstate->exc_value = local_value;
              ^~~~~~~~~
              curexc_value
  /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  skbayes/hidden_markov_models/hmm.c:28412:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tstate->exc_traceback = local_tb;
              ^~~~~~~~~~~~~
              curexc_traceback
  /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  skbayes/hidden_markov_models/hmm.c:30306:24: error: no member named 'exc_type' in 'struct _ts'
      tmp_type = tstate->exc_type;
                 ~~~~~~  ^
  skbayes/hidden_markov_models/hmm.c:30307:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tmp_value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
  /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  skbayes/hidden_markov_models/hmm.c:30308:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tmp_tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
  /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  skbayes/hidden_markov_models/hmm.c:30309:13: error: no member named 'exc_type' in 'struct _ts'
      tstate->exc_type = *type;
      ~~~~~~  ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  1 warning and 20 errors generated.
  error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include -I/Users/simone/PycharmProjects/project/venv/include -I/Users/simone/.pyenv/versions/3.7.3/include/python3.7m -c skbayes/hidden_markov_models/hmm.c -o build/temp.macosx-10.15-x86_64-3.7/skbayes/hidden_markov_models/hmm.o -O3" failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for skbayes
  Running setup.py clean for skbayes
Failed to build skbayes
Installing collected packages: skbayes
    Running setup.py install for skbayes ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/simone/PycharmProjects/project/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/dj/krrkt8p95qndhg46m2n774d80000gn/T/pip-req-build-97u7n087/setup.py'"'"'; __file__='"'"'/private/var/folders/dj/krrkt8p95qndhg46m2n774d80000gn/T/pip-req-build-97u7n087/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/dj/krrkt8p95qndhg46m2n774d80000gn/T/pip-record-5k3krs1g/install-record.txt --single-version-externally-managed --compile --install-headers /Users/simone/PycharmProjects/project/venv/include/site/python3.7/skbayes
         cwd: /private/var/folders/dj/krrkt8p95qndhg46m2n774d80000gn/T/pip-req-build-97u7n087/
    Complete output (275 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.15-x86_64-3.7
    creating build/lib.macosx-10.15-x86_64-3.7/skbayes
    copying skbayes/__init__.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes
    creating build/lib.macosx-10.15-x86_64-3.7/skbayes/decomposition_models
    copying skbayes/decomposition_models/__init__.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/decomposition_models
    copying skbayes/decomposition_models/rbm.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/decomposition_models
    creating build/lib.macosx-10.15-x86_64-3.7/skbayes/mixture_models
    copying skbayes/mixture_models/dpmixture.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/mixture_models
    copying skbayes/mixture_models/mixture.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/mixture_models
    copying skbayes/mixture_models/__init__.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/mixture_models
    creating build/lib.macosx-10.15-x86_64-3.7/skbayes/hidden_markov_models
    copying skbayes/hidden_markov_models/__init__.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/hidden_markov_models
    creating build/lib.macosx-10.15-x86_64-3.7/skbayes/rvm_ard_models
    copying skbayes/rvm_ard_models/fast_rvm.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/rvm_ard_models
    copying skbayes/rvm_ard_models/__init__.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/rvm_ard_models
    copying skbayes/rvm_ard_models/vrvm.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/rvm_ard_models
    creating build/lib.macosx-10.15-x86_64-3.7/skbayes/linear_models
    copying skbayes/linear_models/bayes_logistic.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/linear_models
    copying skbayes/linear_models/__init__.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/linear_models
    copying skbayes/linear_models/bayes_linear.py -> build/lib.macosx-10.15-x86_64-3.7/skbayes/linear_models
    running build_ext
    building 'skbayes.decomposition_models.gibbs_lda_cython' extension
    Warning: Can't read registry to find the necessary compiler setting
    Make sure that Python modules winreg, win32api or win32con are installed.
    C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include

    creating build/temp.macosx-10.15-x86_64-3.7
    creating build/temp.macosx-10.15-x86_64-3.7/skbayes
    creating build/temp.macosx-10.15-x86_64-3.7/skbayes/decomposition_models
    compile options: '-I/Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include -I/Users/simone/PycharmProjects/project/venv/include -I/Users/simone/.pyenv/versions/3.7.3/include/python3.7m -c'
    extra options: '-O3'
    clang: skbayes/decomposition_models/gibbs_lda_cython.c
    In file included from skbayes/decomposition_models/gibbs_lda_cython.c:280:
    In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
    In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
    In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832:
    /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
    #warning "Using deprecated NumPy API, disable it with " \
     ^
    In file included from skbayes/decomposition_models/gibbs_lda_cython.c:280:
    In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
    In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:21:
    /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1463:1: warning: unused function '_import_array' [-Wunused-function]
    _import_array(void)
    ^
    skbayes/decomposition_models/gibbs_lda_cython.c:15698:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
    static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
                               ^
    skbayes/decomposition_models/gibbs_lda_cython.c:15695:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
    static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:15810:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
    static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
                                    ^
    skbayes/decomposition_models/gibbs_lda_cython.c:15872:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
    static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
                                    ^
    skbayes/decomposition_models/gibbs_lda_cython.c:13196:32: warning: unused function '__Pyx_GetItemInt_List_Fast' [-Wunused-function]
    static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:13211:32: warning: unused function '__Pyx_GetItemInt_Tuple_Fast' [-Wunused-function]
    static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:14404:28: warning: unused function '__Pyx_CyFunction_InitDefaults' [-Wunused-function]
    static CYTHON_INLINE void *__Pyx_CyFunction_InitDefaults(PyObject *func, size_t size, int pyobjects) {
                               ^
    skbayes/decomposition_models/gibbs_lda_cython.c:14418:27: warning: unused function '__Pyx_CyFunction_SetDefaultsKwDict' [-Wunused-function]
    static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *func, PyObject *dict) {
                              ^
    skbayes/decomposition_models/gibbs_lda_cython.c:14423:27: warning: unused function '__Pyx_CyFunction_SetAnnotationsDict' [-Wunused-function]
    static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, PyObject *dict) {
                              ^
    skbayes/decomposition_models/gibbs_lda_cython.c:14899:48: warning: unused function '__pyx_t_float_complex_from_parts' [-Wunused-function]
        static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float x, float y) {
                                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:14910:30: warning: unused function '__Pyx_c_eqf' [-Wunused-function]
        static CYTHON_INLINE int __Pyx_c_eqf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
                                 ^
    skbayes/decomposition_models/gibbs_lda_cython.c:14913:48: warning: unused function '__Pyx_c_sumf' [-Wunused-function]
        static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sumf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
                                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:14919:48: warning: unused function '__Pyx_c_difff' [-Wunused-function]
        static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_difff(__pyx_t_float_complex a, __pyx_t_float_complex b) {
                                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:14931:48: warning: unused function '__Pyx_c_quotf' [-Wunused-function]
        static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quotf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
                                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:14938:48: warning: unused function '__Pyx_c_negf' [-Wunused-function]
        static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_negf(__pyx_t_float_complex a) {
                                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:14944:30: warning: unused function '__Pyx_c_is_zerof' [-Wunused-function]
        static CYTHON_INLINE int __Pyx_c_is_zerof(__pyx_t_float_complex a) {
                                 ^
    skbayes/decomposition_models/gibbs_lda_cython.c:14947:48: warning: unused function '__Pyx_c_conjf' [-Wunused-function]
        static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conjf(__pyx_t_float_complex a) {
                                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:14961:52: warning: unused function '__Pyx_c_powf' [-Wunused-function]
            static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_powf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
                                                       ^
    skbayes/decomposition_models/gibbs_lda_cython.c:15021:49: warning: unused function '__pyx_t_double_complex_from_parts' [-Wunused-function]
        static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double x, double y) {
                                                    ^
    skbayes/decomposition_models/gibbs_lda_cython.c:15032:30: warning: unused function '__Pyx_c_eq' [-Wunused-function]
        static CYTHON_INLINE int __Pyx_c_eq(__pyx_t_double_complex a, __pyx_t_double_complex b) {
                                 ^
    skbayes/decomposition_models/gibbs_lda_cython.c:15035:49: warning: unused function '__Pyx_c_sum' [-Wunused-function]
        static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum(__pyx_t_double_complex a, __pyx_t_double_complex b) {
                                                    ^
    skbayes/decomposition_models/gibbs_lda_cython.c:15041:49: warning: unused function '__Pyx_c_diff' [-Wunused-function]
        static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff(__pyx_t_double_complex a, __pyx_t_double_complex b) {
                                                    ^
    skbayes/decomposition_models/gibbs_lda_cython.c:15053:49: warning: unused function '__Pyx_c_quot' [-Wunused-function]
        static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot(__pyx_t_double_complex a, __pyx_t_double_complex b) {
                                                    ^
    skbayes/decomposition_models/gibbs_lda_cython.c:15060:49: warning: unused function '__Pyx_c_neg' [-Wunused-function]
        static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg(__pyx_t_double_complex a) {
                                                    ^
    skbayes/decomposition_models/gibbs_lda_cython.c:15066:30: warning: unused function '__Pyx_c_is_zero' [-Wunused-function]
        static CYTHON_INLINE int __Pyx_c_is_zero(__pyx_t_double_complex a) {
                                 ^
    skbayes/decomposition_models/gibbs_lda_cython.c:15069:49: warning: unused function '__Pyx_c_conj' [-Wunused-function]
        static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj(__pyx_t_double_complex a) {
                                                    ^
    skbayes/decomposition_models/gibbs_lda_cython.c:15083:53: warning: unused function '__Pyx_c_pow' [-Wunused-function]
            static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow(__pyx_t_double_complex a, __pyx_t_double_complex b) {
                                                        ^
    skbayes/decomposition_models/gibbs_lda_cython.c:9832:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew1' [-Wunused-function]
    static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__pyx_v_a) {
                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:9879:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew2' [-Wunused-function]
    static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__pyx_v_a, PyObject *__pyx_v_b) {
                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:9926:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew3' [-Wunused-function]
    static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c) {
                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:9973:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew4' [-Wunused-function]
    static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d) {
                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:10020:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew5' [-Wunused-function]
    static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d, PyObject *__pyx_v_e) {
                                   ^
    skbayes/decomposition_models/gibbs_lda_cython.c:10822:27: warning: unused function '__pyx_f_5numpy_set_array_base' [-Wunused-function]
    static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
                              ^
    skbayes/decomposition_models/gibbs_lda_cython.c:10918:32: warning: unused function '__pyx_f_5numpy_get_array_base' [-Wunused-function]
    static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__pyx_v_arr) {
                                   ^
    36 warnings generated.
    clang -bundle -undefined dynamic_lookup -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/simone/.pyenv/versions/3.7.3/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/simone/.pyenv/versions/3.7.3/lib build/temp.macosx-10.15-x86_64-3.7/skbayes/decomposition_models/gibbs_lda_cython.o -L/Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/lib -lnpymath -o build/lib.macosx-10.15-x86_64-3.7/skbayes/decomposition_models/gibbs_lda_cython.cpython-37m-darwin.so
    building 'skbayes.hidden_markov_models.hmm' extension
    C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include

    creating build/temp.macosx-10.15-x86_64-3.7/skbayes/hidden_markov_models
    compile options: '-I/Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include -I/Users/simone/PycharmProjects/project/venv/include -I/Users/simone/.pyenv/versions/3.7.3/include/python3.7m -c'
    extra options: '-O3'
    clang: skbayes/hidden_markov_models/hmm.c
    In file included from skbayes/hidden_markov_models/hmm.c:280:
    In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
    In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
    In file included from /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832:
    /Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
    #warning "Using deprecated NumPy API, disable it with " \
     ^
    skbayes/hidden_markov_models/hmm.c:28348:21: error: no member named 'exc_type' in 'struct _ts'
        *type = tstate->exc_type;
                ~~~~~~  ^
    skbayes/hidden_markov_models/hmm.c:28349:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        *value = tstate->exc_value;
                         ^~~~~~~~~
                         curexc_value
    /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    skbayes/hidden_markov_models/hmm.c:28350:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        *tb = tstate->exc_traceback;
                      ^~~~~~~~~~~~~
                      curexc_traceback
    /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    skbayes/hidden_markov_models/hmm.c:28357:24: error: no member named 'exc_type' in 'struct _ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    skbayes/hidden_markov_models/hmm.c:28358:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tmp_value = tstate->exc_value;
                            ^~~~~~~~~
                            curexc_value
    /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    skbayes/hidden_markov_models/hmm.c:28359:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tmp_tb = tstate->exc_traceback;
                         ^~~~~~~~~~~~~
                         curexc_traceback
    /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    skbayes/hidden_markov_models/hmm.c:28360:13: error: no member named 'exc_type' in 'struct _ts'
        tstate->exc_type = type;
        ~~~~~~  ^
    skbayes/hidden_markov_models/hmm.c:28361:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tstate->exc_value = value;
                ^~~~~~~~~
                curexc_value
    /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    skbayes/hidden_markov_models/hmm.c:28362:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tstate->exc_traceback = tb;
                ^~~~~~~~~~~~~
                curexc_traceback
    /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    skbayes/hidden_markov_models/hmm.c:28407:24: error: no member named 'exc_type' in 'struct _ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    skbayes/hidden_markov_models/hmm.c:28408:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tmp_value = tstate->exc_value;
                            ^~~~~~~~~
                            curexc_value
    /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    skbayes/hidden_markov_models/hmm.c:28409:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tmp_tb = tstate->exc_traceback;
                         ^~~~~~~~~~~~~
                         curexc_traceback
    /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    skbayes/hidden_markov_models/hmm.c:28410:13: error: no member named 'exc_type' in 'struct _ts'
        tstate->exc_type = local_type;
        ~~~~~~  ^
    skbayes/hidden_markov_models/hmm.c:28411:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tstate->exc_value = local_value;
                ^~~~~~~~~
                curexc_value
    /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    skbayes/hidden_markov_models/hmm.c:28412:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tstate->exc_traceback = local_tb;
                ^~~~~~~~~~~~~
                curexc_traceback
    /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    skbayes/hidden_markov_models/hmm.c:30306:24: error: no member named 'exc_type' in 'struct _ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    skbayes/hidden_markov_models/hmm.c:30307:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tmp_value = tstate->exc_value;
                            ^~~~~~~~~
                            curexc_value
    /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    skbayes/hidden_markov_models/hmm.c:30308:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tmp_tb = tstate->exc_traceback;
                         ^~~~~~~~~~~~~
                         curexc_traceback
    /Users/simone/.pyenv/versions/3.7.3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    skbayes/hidden_markov_models/hmm.c:30309:13: error: no member named 'exc_type' in 'struct _ts'
        tstate->exc_type = *type;
        ~~~~~~  ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    1 warning and 20 errors generated.
    error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/simone/PycharmProjects/project/venv/lib/python3.7/site-packages/numpy/core/include -I/Users/simone/PycharmProjects/project/venv/include -I/Users/simone/.pyenv/versions/3.7.3/include/python3.7m -c skbayes/hidden_markov_models/hmm.c -o build/temp.macosx-10.15-x86_64-3.7/skbayes/hidden_markov_models/hmm.o -O3" failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/simone/PycharmProjects/project/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/dj/krrkt8p95qndhg46m2n774d80000gn/T/pip-req-build-97u7n087/setup.py'"'"'; __file__='"'"'/private/var/folders/dj/krrkt8p95qndhg46m2n774d80000gn/T/pip-req-build-97u7n087/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/dj/krrkt8p95qndhg46m2n774d80000gn/T/pip-record-5k3krs1g/install-record.txt --single-version-externally-managed --compile --install-headers /Users/simone/PycharmProjects/project/venv/include/site/python3.7/skbayes Check the logs for full command output.

My env

OS X 10.15.6
Python 3.7.3
numpy==1.18.5
Apple clang version 12.0.0 (clang-1200.0.32.21)
patch0110 commented 1 year ago

Hi, any progress on this issue?