RJT1990 / pyflux

Open source time series library for Python
BSD 3-Clause "New" or "Revised" License
2.1k stars 240 forks source link

pypi build fails macosx, but fine from git directly. #161

Open microprediction opened 3 years ago

microprediction commented 3 years ago

Hey, just a note to let you know I build pyflux perfectly fine from git, but from pypi I get the following trace.

I tried installing cython separately but only installing from git worked.

  ERROR: 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
    ERROR: Command errored out with exit status 1:
     command: /Users/petercotton/virtual-envs/timemachines/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-install-c_dd9kxr/pyflux_baad6a3e4f464f94b0f3d6d74b3eab4b/setup.py'"'"'; __file__='"'"'/private/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-install-c_dd9kxr/pyflux_baad6a3e4f464f94b0f3d6d74b3eab4b/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/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-record-997430i9/install-record.txt --single-version-externally-managed --compile --install-headers /Users/petercotton/virtual-envs/timemachines/include/site/python3.7/pyflux
         cwd: /private/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-install-c_dd9kxr/pyflux_baad6a3e4f464f94b0f3d6d74b3eab4b/
    Complete output (302 lines):
    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.14-x86_64-3.7
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux
    copying pyflux/data_check.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux
    copying pyflux/results.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux
    copying pyflux/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux
    copying pyflux/tsm.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux
    copying pyflux/setup.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux
    copying pyflux/latent_variables.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux
    copying pyflux/covariances.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux/__check_build
    copying pyflux/__check_build/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/__check_build
    copying pyflux/__check_build/setup.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/__check_build
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux/arma
    copying pyflux/arma/arma.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma
    copying pyflux/arma/nnarx.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma
    copying pyflux/arma/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma
    copying pyflux/arma/arimax.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma
    copying pyflux/arma/setup.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma
    copying pyflux/arma/nnar.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arima_exponential.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arima_t.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arimax_exponential.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arimax_inference.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arimax_poisson.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arima_skewt.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arima_cauchy.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arima_normal.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arimax_laplace.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arima_laplace.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arimax_normal.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arimax_skewt.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arimax_cauchy.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arimax_t.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arima_poisson.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    copying pyflux/arma/tests/test_arima_inference.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/arma/tests
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux/ensembles
    copying pyflux/ensembles/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ensembles
    copying pyflux/ensembles/mixture_of_experts.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ensembles
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/inverse_gamma.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/laplace.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/truncated_normal.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/normal.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/poisson.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/flat.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/exponential.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/cauchy.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/setup.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/inverse_wishart.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/family.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/skewt.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    copying pyflux/families/t.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/families
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux/garch
    copying pyflux/garch/egarchm.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/garch
    copying pyflux/garch/segarch.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/garch
    copying pyflux/garch/egarchmreg.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/garch
    copying pyflux/garch/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/garch
    copying pyflux/garch/segarchm.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/garch
    copying pyflux/garch/setup.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/garch
    copying pyflux/garch/lmegarch.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/garch
    copying pyflux/garch/egarch.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/garch
    copying pyflux/garch/garch.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/garch
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux/gas
    copying pyflux/gas/gas.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/gas
    copying pyflux/gas/gasreg.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/gas
    copying pyflux/gas/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/gas
    copying pyflux/gas/gasrank.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/gas
    copying pyflux/gas/setup.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/gas
    copying pyflux/gas/gasx.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/gas
    copying pyflux/gas/gasllm.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/gas
    copying pyflux/gas/scores.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/gas
    copying pyflux/gas/gasllt.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/gas
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux/gpnarx
    copying pyflux/gpnarx/gpnarx.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/gpnarx
    copying pyflux/gpnarx/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/gpnarx
    copying pyflux/gpnarx/setup.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/gpnarx
    copying pyflux/gpnarx/kernels.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/gpnarx
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux/inference
    copying pyflux/inference/metropolis_hastings.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/inference
    copying pyflux/inference/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/inference
    copying pyflux/inference/norm_post_sim.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/inference
    copying pyflux/inference/setup.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/inference
    copying pyflux/inference/bbvi.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/inference
    copying pyflux/inference/stoch_optim.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/inference
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux/output
    copying pyflux/output/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/output
    copying pyflux/output/tableprinter.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/output
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux/ssm
    copying pyflux/ssm/ndynlin.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ssm
    copying pyflux/ssm/local_trend.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ssm
    copying pyflux/ssm/llt.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ssm
    copying pyflux/ssm/nllt.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ssm
    copying pyflux/ssm/nllm.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ssm
    copying pyflux/ssm/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ssm
    copying pyflux/ssm/llm.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ssm
    copying pyflux/ssm/dynlin.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ssm
    copying pyflux/ssm/dynamic_glm.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ssm
    copying pyflux/ssm/setup.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ssm
    copying pyflux/ssm/local_level.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ssm
    copying pyflux/ssm/dar.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/ssm
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux/tests
    copying pyflux/tests/nhst.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/tests
    copying pyflux/tests/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/tests
    creating build/lib.macosx-10.14-x86_64-3.7/pyflux/var
    copying pyflux/var/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/var
    copying pyflux/var/var.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/var
    copying pyflux/var/setup.py -> build/lib.macosx-10.14-x86_64-3.7/pyflux/var
    running build_ext
    customize UnixCCompiler
    C compiler: xcrun -sdk macosx clang -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/Headers

    creating /var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/tmpcsvug1q2/var
    creating /var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/tmpcsvug1q2/var/folders
    creating /var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/tmpcsvug1q2/var/folders/g2
    creating /var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/tmpcsvug1q2/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn
    creating /var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/tmpcsvug1q2/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T
    creating /var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/tmpcsvug1q2/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/tmpcsvug1q2
    compile options: '-MMD -MF /var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/tmpcsvug1q2/file.c.d -c'
    xcrun: /var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/tmpcsvug1q2/file.c
    customize UnixCCompiler using build_ext
    building 'pyflux.__check_build._check_build' extension
    compiling C sources
    C compiler: xcrun -sdk macosx clang -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/Headers

    creating build/temp.macosx-10.14-x86_64-3.7/pyflux
    creating build/temp.macosx-10.14-x86_64-3.7/pyflux/__check_build
    compile options: '-I/Users/petercotton/virtual-envs/timemachines/lib/python3.7/site-packages/numpy/core/include -I/Users/petercotton/virtual-envs/timemachines/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m -c'
    xcrun: 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.
    xcrun -sdk macosx clang -arch x86_64 -bundle -undefined dynamic_lookup build/temp.macosx-10.14-x86_64-3.7/pyflux/__check_build/_check_build.o -o build/lib.macosx-10.14-x86_64-3.7/pyflux/__check_build/_check_build.cpython-37m-darwin.so
    building 'pyflux.arma.arma_recursions' extension
    compiling C sources
    C compiler: xcrun -sdk macosx clang -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/Headers

    creating build/temp.macosx-10.14-x86_64-3.7/pyflux/arma
    compile options: '-I/Users/petercotton/virtual-envs/timemachines/lib/python3.7/site-packages/numpy/core/include -I/Users/petercotton/virtual-envs/timemachines/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m -c'
    xcrun: pyflux/arma/arma_recursions.c
    In file included from pyflux/arma/arma_recursions.c:274:
    In file included from /Users/petercotton/virtual-envs/timemachines/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
    In file included from /Users/petercotton/virtual-envs/timemachines/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
    In file included from /Users/petercotton/virtual-envs/timemachines/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
    /Users/petercotton/virtual-envs/timemachines/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 " \
     ^
    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
    /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m/pystate.h:240: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
    /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m/pystate.h:241: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
    /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m/pystate.h:240: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
    /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m/pystate.h:241: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
    /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m/pystate.h:240: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
    /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m/pystate.h:241: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
    /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m/pystate.h:240: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
    /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m/pystate.h:241: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
    /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m/pystate.h:240: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
    /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m/pystate.h:241: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
    /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m/pystate.h:240: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
    /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m/pystate.h:241: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 "xcrun -sdk macosx clang -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/Headers -I/Users/petercotton/virtual-envs/timemachines/lib/python3.7/site-packages/numpy/core/include -I/Users/petercotton/virtual-envs/timemachines/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m -c pyflux/arma/arma_recursions.c -o build/temp.macosx-10.14-x86_64-3.7/pyflux/arma/arma_recursions.o -MMD -MF build/temp.macosx-10.14-x86_64-3.7/pyflux/arma/arma_recursions.o.d" failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/petercotton/virtual-envs/timemachines/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-install-c_dd9kxr/pyflux_baad6a3e4f464f94b0f3d6d74b3eab4b/setup.py'"'"'; __file__='"'"'/private/var/folders/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-install-c_dd9kxr/pyflux_baad6a3e4f464f94b0f3d6d74b3eab4b/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/g2/6p5lz9hn36vbnv165bk7yj7r0000gn/T/pip-record-997430i9/install-record.txt --single-version-externally-managed --compile --install-headers /Users/petercotton/virtual-envs/timemachines/include/site/python3.7/pyflux Check the logs for full command output.
pietrodn commented 3 years ago

@RJT1990 I think that publishing the latest version on PyPI will solve the problem, as the Git installation is working. Could you please do it? 🙏 😄