Build issue on pip install on mac os
See original GitHub issueCan’t seem to get the wheel to build on OSX Mojave 10.14.2
Here’s the error in full:
`Collecting pyflux==0.4.14 Downloading https://files.pythonhosted.org/packages/cb/15/3cba0a679eb219a5ff4a2be7366198da243f7951618630e4669bbd397f94/pyflux-0.4.14.tar.gz (1.3MB) 100% |████████████████████████████████| 1.3MB 7.4MB/s Requirement already satisfied: numpy in /anaconda3/lib/python3.7/site-packages (from pyflux==0.4.14) (1.15.1) Requirement already satisfied: pandas in /anaconda3/lib/python3.7/site-packages (from pyflux==0.4.14) (0.23.4) Requirement already satisfied: scipy in /anaconda3/lib/python3.7/site-packages (from pyflux==0.4.14) (1.1.0) Requirement already satisfied: numdifftools in /anaconda3/lib/python3.7/site-packages (from pyflux==0.4.14) (0.9.20) Requirement already satisfied: patsy in /anaconda3/lib/python3.7/site-packages (from pyflux==0.4.14) (0.5.0) Requirement already satisfied: python-dateutil>=2.5.0 in /anaconda3/lib/python3.7/site-packages (from pandas->pyflux==0.4.14) (2.7.3) Requirement already satisfied: pytz>=2011k in /anaconda3/lib/python3.7/site-packages (from pandas->pyflux==0.4.14) (2018.5) Requirement already satisfied: setuptools>=9.0 in /anaconda3/lib/python3.7/site-packages (from numdifftools->pyflux==0.4.14) (40.2.0) Requirement already satisfied: algopy>=0.4 in /anaconda3/lib/python3.7/site-packages (from numdifftools->pyflux==0.4.14) (0.5.7) Requirement already satisfied: six in /anaconda3/lib/python3.7/site-packages (from patsy->pyflux==0.4.14) (1.11.0) Building wheels for collected packages: pyflux Running setup.py bdist_wheel for pyflux … error Complete output from command /anaconda3/bin/python -u -c “import setuptools, tokenize;file=‘/private/var/folders/78/s94w6v9s5nj5jwjztpd8_cc40000gn/T/pip-install-_5s64cvm/pyflux/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/78/s94w6v9s5nj5jwjztpd8_cc40000gn/T/pip-wheel-1t7q3d77 --python-tag cp37: running bdist_wheel running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building extension “pyflux.__check_build._check_build” sources building extension “pyflux.arma.arma_recursions” sources building extension “pyflux.arma.nn_architecture” sources building extension “pyflux.families.gas_recursions” sources building extension “pyflux.families.poisson_kalman_recursions” sources building extension “pyflux.garch.garch_recursions” sources building extension “pyflux.gas.gas_core_recursions” sources building extension “pyflux.gpnarx.kernel_routines” sources building extension “pyflux.inference.metropolis_sampler” sources building extension “pyflux.inference.bbvi_routines” sources building extension “pyflux.ssm.kalman” sources building extension “pyflux.var.var_recursions” sources build_src: building npy-pkg config files running build_py creating build creating build/lib.macosx-10.7-x86_64-3.7 creating build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/data_check.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/results.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/tsm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/latent_variables.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/covariances.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux creating build/lib.macosx-10.7-x86_64-3.7/pyflux/__check_build copying pyflux/__check_build/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/__check_build copying pyflux/__check_build/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/__check_build creating build/lib.macosx-10.7-x86_64-3.7/pyflux/arma copying pyflux/arma/arma.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/arma copying pyflux/arma/nnarx.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/arma copying pyflux/arma/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/arma copying pyflux/arma/arimax.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/arma copying pyflux/arma/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/arma copying pyflux/arma/nnar.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/arma creating build/lib.macosx-10.7-x86_64-3.7/pyflux/ensembles copying pyflux/ensembles/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ensembles copying pyflux/ensembles/mixture_of_experts.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ensembles creating build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/inverse_gamma.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/laplace.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/truncated_normal.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/normal.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/poisson.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/flat.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/exponential.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/cauchy.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/inverse_wishart.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/family.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/skewt.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/t.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families creating build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/egarchm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/segarch.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/egarchmreg.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/segarchm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/lmegarch.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/egarch.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/garch.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch creating build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/gas.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/gasreg.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/gasrank.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/gasx.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/gasllm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/scores.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/gasllt.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas creating build/lib.macosx-10.7-x86_64-3.7/pyflux/gpnarx copying pyflux/gpnarx/gpnarx.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gpnarx copying pyflux/gpnarx/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gpnarx copying pyflux/gpnarx/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gpnarx copying pyflux/gpnarx/kernels.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gpnarx creating build/lib.macosx-10.7-x86_64-3.7/pyflux/inference copying pyflux/inference/metropolis_hastings.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/inference copying pyflux/inference/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/inference copying pyflux/inference/norm_post_sim.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/inference copying pyflux/inference/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/inference copying pyflux/inference/bbvi.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/inference copying pyflux/inference/stoch_optim.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/inference creating build/lib.macosx-10.7-x86_64-3.7/pyflux/output copying pyflux/output/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/output copying pyflux/output/tableprinter.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/output creating build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/ndynlin.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/local_trend.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/llt.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/nllt.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/nllm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/llm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/dynlin.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/dynamic_glm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/local_level.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/dar.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm creating build/lib.macosx-10.7-x86_64-3.7/pyflux/tests copying pyflux/tests/nhst.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/tests copying pyflux/tests/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/tests creating build/lib.macosx-10.7-x86_64-3.7/pyflux/var copying pyflux/var/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/var copying pyflux/var/var.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/var copying pyflux/var/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/var running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext building ‘pyflux.__check_build._check_build’ extension compiling C sources C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64
creating build/temp.macosx-10.7-x86_64-3.7/pyflux creating build/temp.macosx-10.7-x86_64-3.7/pyflux/__check_build compile options: ‘-I/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/anaconda3/include/python3.7m -c’ gcc: pyflux/__check_build/_check_build.c pyflux/__check_build/_check_build.c:1499:28: warning: unused function ‘__Pyx_PyObject_AsString’ [-Wunused-function] static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) { ^ pyflux/__check_build/_check_build.c:1496:32: warning: unused function ‘__Pyx_PyUnicode_FromString’ [-Wunused-function] static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) { ^ pyflux/__check_build/_check_build.c:1561:26: warning: unused function ‘__Pyx_PyObject_IsTrue’ [-Wunused-function] static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) { ^ pyflux/__check_build/_check_build.c:1611:33: warning: unused function ‘__Pyx_PyIndex_AsSsize_t’ [-Wunused-function] static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) { ^ pyflux/__check_build/_check_build.c:1673:33: warning: unused function ‘__Pyx_PyInt_FromSize_t’ [-Wunused-function] static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) { ^ pyflux/__check_build/_check_build.c:1031:32: warning: unused function ‘__Pyx_PyInt_From_long’ [-Wunused-function] static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) { ^ pyflux/__check_build/_check_build.c:1080:27: warning: function ‘__Pyx_PyInt_As_long’ is not needed and will not be emitted [-Wunneeded-internal-declaration] static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) { ^ pyflux/__check_build/_check_build.c:1265:26: warning: function ‘__Pyx_PyInt_As_int’ is not needed and will not be emitted [-Wunneeded-internal-declaration] static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) { ^ 8 warnings generated. gcc -bundle -undefined dynamic_lookup -L/anaconda3/lib -arch x86_64 -L/anaconda3/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.7/pyflux/__check_build/_check_build.o -o build/lib.macosx-10.7-x86_64-3.7/pyflux/__check_build/_check_build.cpython-37m-darwin.so building ‘pyflux.arma.arma_recursions’ extension compiling C sources C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64
creating build/temp.macosx-10.7-x86_64-3.7/pyflux/arma
compile options: ‘-I/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/anaconda3/include/python3.7m -c’
gcc: pyflux/arma/arma_recursions.c
In file included from pyflux/arma/arma_recursions.c:274:
In file included from /anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " “#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION” [-W#warnings]
#warning "Using deprecated NumPy API, disable it by "
^
pyflux/arma/arma_recursions.c:19331:21: error: no member named ‘exc_type’ in ‘struct _ts’
*type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19332:22: error: no member named ‘exc_value’ in ‘struct _ts’; did you mean ‘curexc_value’?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: ‘curexc_value’ declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19333:19: error: no member named ‘exc_traceback’ in ‘struct _ts’; did you mean ‘curexc_traceback’?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: ‘curexc_traceback’ declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19340:24: error: no member named ‘exc_type’ in ‘struct _ts’
tmp_type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19341:25: error: no member named ‘exc_value’ in ‘struct _ts’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: ‘curexc_value’ declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19342:22: error: no member named ‘exc_traceback’ in ‘struct _ts’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: ‘curexc_traceback’ declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19343:13: error: no member named ‘exc_type’ in ‘struct _ts’
tstate->exc_type = type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19344:13: error: no member named ‘exc_value’ in ‘struct _ts’; did you mean ‘curexc_value’?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: ‘curexc_value’ declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19345:13: error: no member named ‘exc_traceback’ in ‘struct _ts’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: ‘curexc_traceback’ declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19400:24: error: no member named ‘exc_type’ in ‘struct _ts’
tmp_type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19401:25: error: no member named ‘exc_value’ in ‘struct _ts’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: ‘curexc_value’ declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19402:22: error: no member named ‘exc_traceback’ in ‘struct _ts’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: ‘curexc_traceback’ declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19403:13: error: no member named ‘exc_type’ in ‘struct _ts’
tstate->exc_type = local_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19404:13: error: no member named ‘exc_value’ in ‘struct _ts’; did you mean ‘curexc_value’?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: ‘curexc_value’ declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19405:13: error: no member named ‘exc_traceback’ in ‘struct _ts’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: ‘curexc_traceback’ declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19427:24: error: no member named ‘exc_type’ in ‘struct _ts’
tmp_type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19428:25: error: no member named ‘exc_value’ in ‘struct _ts’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: ‘curexc_value’ declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19429:22: error: no member named ‘exc_traceback’ in ‘struct _ts’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: ‘curexc_traceback’ declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19430: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.
In file included from pyflux/arma/arma_recursions.c:274:
In file included from /anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " “#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION” [-W#warnings]
#warning "Using deprecated NumPy API, disable it by "
^
pyflux/arma/arma_recursions.c:19331:21: error: no member named ‘exc_type’ in ‘struct _ts’
*type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19332:22: error: no member named ‘exc_value’ in ‘struct _ts’; did you mean ‘curexc_value’?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: ‘curexc_value’ declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19333:19: error: no member named ‘exc_traceback’ in ‘struct _ts’; did you mean ‘curexc_traceback’?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: ‘curexc_traceback’ declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19340:24: error: no member named ‘exc_type’ in ‘struct _ts’
tmp_type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19341:25: error: no member named ‘exc_value’ in ‘struct _ts’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: ‘curexc_value’ declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19342:22: error: no member named ‘exc_traceback’ in ‘struct _ts’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: ‘curexc_traceback’ declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19343:13: error: no member named ‘exc_type’ in ‘struct _ts’
tstate->exc_type = type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19344:13: error: no member named ‘exc_value’ in ‘struct _ts’; did you mean ‘curexc_value’?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: ‘curexc_value’ declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19345:13: error: no member named ‘exc_traceback’ in ‘struct _ts’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: ‘curexc_traceback’ declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19400:24: error: no member named ‘exc_type’ in ‘struct _ts’
tmp_type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19401:25: error: no member named ‘exc_value’ in ‘struct _ts’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: ‘curexc_value’ declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19402:22: error: no member named ‘exc_traceback’ in ‘struct _ts’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: ‘curexc_traceback’ declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19403:13: error: no member named ‘exc_type’ in ‘struct _ts’
tstate->exc_type = local_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19404:13: error: no member named ‘exc_value’ in ‘struct _ts’; did you mean ‘curexc_value’?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: ‘curexc_value’ declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19405:13: error: no member named ‘exc_traceback’ in ‘struct _ts’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: ‘curexc_traceback’ declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19427:24: error: no member named ‘exc_type’ in ‘struct _ts’
tmp_type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19428:25: error: no member named ‘exc_value’ in ‘struct _ts’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: ‘curexc_value’ declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19429:22: error: no member named ‘exc_traceback’ in ‘struct _ts’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: ‘curexc_traceback’ declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19430: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 “gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/anaconda3/include/python3.7m -c pyflux/arma/arma_recursions.c -o build/temp.macosx-10.7-x86_64-3.7/pyflux/arma/arma_recursions.o -MMD -MF build/temp.macosx-10.7-x86_64-3.7/pyflux/arma/arma_recursions.o.d” failed with exit status 1
Failed building wheel for pyflux Running setup.py clean for pyflux Failed to build pyflux Installing collected packages: pyflux Running setup.py install for pyflux … error Complete output from command /anaconda3/bin/python -u -c “import setuptools, tokenize;file=‘/private/var/folders/78/s94w6v9s5nj5jwjztpd8_cc40000gn/T/pip-install-_5s64cvm/pyflux/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/78/s94w6v9s5nj5jwjztpd8_cc40000gn/T/pip-record-m25p2alr/install-record.txt --single-version-externally-managed --compile: running install running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building extension “pyflux.__check_build._check_build” sources building extension “pyflux.arma.arma_recursions” sources building extension “pyflux.arma.nn_architecture” sources building extension “pyflux.families.gas_recursions” sources building extension “pyflux.families.poisson_kalman_recursions” sources building extension “pyflux.garch.garch_recursions” sources building extension “pyflux.gas.gas_core_recursions” sources building extension “pyflux.gpnarx.kernel_routines” sources building extension “pyflux.inference.metropolis_sampler” sources building extension “pyflux.inference.bbvi_routines” sources building extension “pyflux.ssm.kalman” sources building extension “pyflux.var.var_recursions” sources build_src: building npy-pkg config files running build_py creating build creating build/lib.macosx-10.7-x86_64-3.7 creating build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/data_check.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/results.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/tsm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/latent_variables.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux copying pyflux/covariances.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux creating build/lib.macosx-10.7-x86_64-3.7/pyflux/__check_build copying pyflux/__check_build/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/__check_build copying pyflux/__check_build/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/__check_build creating build/lib.macosx-10.7-x86_64-3.7/pyflux/arma copying pyflux/arma/arma.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/arma copying pyflux/arma/nnarx.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/arma copying pyflux/arma/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/arma copying pyflux/arma/arimax.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/arma copying pyflux/arma/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/arma copying pyflux/arma/nnar.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/arma creating build/lib.macosx-10.7-x86_64-3.7/pyflux/ensembles copying pyflux/ensembles/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ensembles copying pyflux/ensembles/mixture_of_experts.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ensembles creating build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/inverse_gamma.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/laplace.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/truncated_normal.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/normal.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/poisson.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/flat.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/exponential.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/cauchy.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/inverse_wishart.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/family.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/skewt.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families copying pyflux/families/t.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/families creating build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/egarchm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/segarch.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/egarchmreg.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/segarchm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/lmegarch.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/egarch.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch copying pyflux/garch/garch.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/garch creating build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/gas.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/gasreg.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/gasrank.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/gasx.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/gasllm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/scores.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas copying pyflux/gas/gasllt.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gas creating build/lib.macosx-10.7-x86_64-3.7/pyflux/gpnarx copying pyflux/gpnarx/gpnarx.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gpnarx copying pyflux/gpnarx/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gpnarx copying pyflux/gpnarx/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gpnarx copying pyflux/gpnarx/kernels.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/gpnarx creating build/lib.macosx-10.7-x86_64-3.7/pyflux/inference copying pyflux/inference/metropolis_hastings.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/inference copying pyflux/inference/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/inference copying pyflux/inference/norm_post_sim.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/inference copying pyflux/inference/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/inference copying pyflux/inference/bbvi.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/inference copying pyflux/inference/stoch_optim.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/inference creating build/lib.macosx-10.7-x86_64-3.7/pyflux/output copying pyflux/output/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/output copying pyflux/output/tableprinter.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/output creating build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/ndynlin.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/local_trend.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/llt.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/nllt.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/nllm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/llm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/dynlin.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/dynamic_glm.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/local_level.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm copying pyflux/ssm/dar.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/ssm creating build/lib.macosx-10.7-x86_64-3.7/pyflux/tests copying pyflux/tests/nhst.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/tests copying pyflux/tests/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/tests creating build/lib.macosx-10.7-x86_64-3.7/pyflux/var copying pyflux/var/init.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/var copying pyflux/var/var.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/var copying pyflux/var/setup.py -> build/lib.macosx-10.7-x86_64-3.7/pyflux/var running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext building ‘pyflux.__check_build._check_build’ extension compiling C sources C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64
creating build/temp.macosx-10.7-x86_64-3.7/pyflux
creating build/temp.macosx-10.7-x86_64-3.7/pyflux/__check_build
compile options: '-I/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/anaconda3/include/python3.7m -c'
gcc: pyflux/__check_build/_check_build.c
pyflux/__check_build/_check_build.c:1499:28: warning: unused function '__Pyx_PyObject_AsString' [-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
pyflux/__check_build/_check_build.c:1496:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
^
pyflux/__check_build/_check_build.c:1561:26: warning: unused function '__Pyx_PyObject_IsTrue' [-Wunused-function]
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
^
pyflux/__check_build/_check_build.c:1611:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
pyflux/__check_build/_check_build.c:1673:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
pyflux/__check_build/_check_build.c:1031:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
pyflux/__check_build/_check_build.c:1080:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
pyflux/__check_build/_check_build.c:1265:26: warning: function '__Pyx_PyInt_As_int' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
^
8 warnings generated.
gcc -bundle -undefined dynamic_lookup -L/anaconda3/lib -arch x86_64 -L/anaconda3/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.7/pyflux/__check_build/_check_build.o -o build/lib.macosx-10.7-x86_64-3.7/pyflux/__check_build/_check_build.cpython-37m-darwin.so
building 'pyflux.arma.arma_recursions' extension
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64
creating build/temp.macosx-10.7-x86_64-3.7/pyflux/arma
compile options: '-I/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/anaconda3/include/python3.7m -c'
gcc: pyflux/arma/arma_recursions.c
In file included from pyflux/arma/arma_recursions.c:274:
In file included from /anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
pyflux/arma/arma_recursions.c:19331:21: error: no member named 'exc_type' in 'struct _ts'
*type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19332:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19333:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19340:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19341:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19342:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19343:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19344:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19345:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19400:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19401:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19402:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19403:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19404:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19405:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19427:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19428:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19429:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19430: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.
In file included from pyflux/arma/arma_recursions.c:274:
In file included from /anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
pyflux/arma/arma_recursions.c:19331:21: error: no member named 'exc_type' in 'struct _ts'
*type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19332:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19333:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19340:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19341:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19342:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19343:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19344:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19345:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19400:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19401:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19402:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19403:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19404:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19405:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19427:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
pyflux/arma/arma_recursions.c:19428:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyflux/arma/arma_recursions.c:19429:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyflux/arma/arma_recursions.c:19430: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 "gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/anaconda3/include/python3.7m -c pyflux/arma/arma_recursions.c -o build/temp.macosx-10.7-x86_64-3.7/pyflux/arma/arma_recursions.o -MMD -MF build/temp.macosx-10.7-x86_64-3.7/pyflux/arma/arma_recursions.o.d" failed with exit status 1
----------------------------------------
Command “/anaconda3/bin/python -u -c “import setuptools, tokenize;file=‘/private/var/folders/78/s94w6v9s5nj5jwjztpd8_cc40000gn/T/pip-install-_5s64cvm/pyflux/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/78/s94w6v9s5nj5jwjztpd8_cc40000gn/T/pip-record-m25p2alr/install-record.txt --single-version-externally-managed --compile” failed with error code 1 in /private/var/folders/78/s94w6v9s5nj5jwjztpd8_cc40000gn/T/pip-install-_5s64cvm/pyflux/ `
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:10
It seems like you are using Python3.7. Docs say that
so probably you should try installing with that version instead.
@jhougomont, @ZhouRR, @airoldi
I have downloaded the whole folder and installed it manually with
setup.py
. Just run the following code:If
git
is not installed/available, just downloadpyflux
manually from github, ignore the first line andcd
accordingly.