Closed mjjohns1 closed 7 years ago
I met the same problem just few hours ago and have installed it successfully.
Try using pip install pyflux==0.4.14
instead,under your anaconda environment.
I tried that and it doesn't work.
Hi, can you try xcode-select --install in your terminal and let me know if it works after that?
that did the trick. Thanks!!
i am getting the same error ..but i m not able to sort it out .plz help
i am getting the same error on windows any help on that?
I got it working with this: pip3.6 install pyflux
Usually just pip3 install
or sudo pip3 install
works, and I'm not sure why this one was different.
Same issue here! Tried to update wheel and check for other ways but still cannot get it installed. Also tried "xcode-select --install". Running on my Mac OS high Sierra
Get the error of "failed to build wheel for pyflux"
Command "/usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/my/j2x0d1_x43gg2p137mhdcg4c0000gp/T/pip-install-nnztafuf/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/my/j2x0d1_x43gg2p137mhdcg4c0000gp/T/pip-record-kk6dncw5/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/my/j2x0d1_x43gg2p137mhdcg4c0000gp/T/pip-install-nnztafuf/pyflux/
Any other ways??
If anyone hasn't seen the soltion from the similar discussion: https://github.com/RJT1990/pyflux/issues/102#issuecomment-321729570
For me short file address didn't work, but the full did. Also, if you have Python 3.10 or younger just change the name of version in the wheel to your current major version. For instance, I downloaded pyflux-0.4.17-cp39-cp39-win_amd64.whl, renamed it to pyflux-0.4.17-cp310-cp310-win_amd64.whl and it worked.
I've tried a couple of different approaches but can't seem to get past this 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 Complete output from command /Users/pillbug/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/17/gfz9lnjs30l_sd0tgn7v1m3m0000gn/T/pip-build-hktpm5i6/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 /var/folders/17/gfz9lnjs30l_sd0tgn7v1m3m0000gn/T/pip-2tnfhoox-record/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.6-x86_64-3.5 creating build/lib.macosx-10.6-x86_64-3.5/pyflux copying pyflux/init.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux copying pyflux/covariances.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux copying pyflux/data_check.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux copying pyflux/latent_variables.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux copying pyflux/results.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux copying pyflux/setup.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux copying pyflux/tsm.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux creating build/lib.macosx-10.6-x86_64-3.5/pyflux/__check_build copying pyflux/check_build/init.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/check_build copying pyflux/check_build/setup.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/check_build creating build/lib.macosx-10.6-x86_64-3.5/pyflux/arma copying pyflux/arma/init.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/arma copying pyflux/arma/arimax.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/arma copying pyflux/arma/arma.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/arma copying pyflux/arma/nnar.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/arma copying pyflux/arma/nnarx.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/arma copying pyflux/arma/setup.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/arma creating build/lib.macosx-10.6-x86_64-3.5/pyflux/ensembles copying pyflux/ensembles/init.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ensembles copying pyflux/ensembles/mixture_of_experts.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ensembles creating build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/init.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/cauchy.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/exponential.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/family.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/flat.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/inverse_gamma.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/inverse_wishart.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/laplace.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/normal.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/poisson.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/setup.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/skewt.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/t.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families copying pyflux/families/truncated_normal.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/families creating build/lib.macosx-10.6-x86_64-3.5/pyflux/garch copying pyflux/garch/init.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/garch copying pyflux/garch/egarch.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/garch copying pyflux/garch/egarchm.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/garch copying pyflux/garch/egarchmreg.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/garch copying pyflux/garch/garch.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/garch copying pyflux/garch/lmegarch.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/garch copying pyflux/garch/segarch.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/garch copying pyflux/garch/segarchm.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/garch copying pyflux/garch/setup.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/garch creating build/lib.macosx-10.6-x86_64-3.5/pyflux/gas copying pyflux/gas/init.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/gas copying pyflux/gas/gas.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/gas copying pyflux/gas/gasllm.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/gas copying pyflux/gas/gasllt.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/gas copying pyflux/gas/gasrank.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/gas copying pyflux/gas/gasreg.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/gas copying pyflux/gas/gasx.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/gas copying pyflux/gas/scores.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/gas copying pyflux/gas/setup.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/gas creating build/lib.macosx-10.6-x86_64-3.5/pyflux/gpnarx copying pyflux/gpnarx/init.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/gpnarx copying pyflux/gpnarx/gpnarx.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/gpnarx copying pyflux/gpnarx/kernels.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/gpnarx copying pyflux/gpnarx/setup.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/gpnarx creating build/lib.macosx-10.6-x86_64-3.5/pyflux/inference copying pyflux/inference/init.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/inference copying pyflux/inference/bbvi.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/inference copying pyflux/inference/metropolis_hastings.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/inference copying pyflux/inference/norm_post_sim.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/inference copying pyflux/inference/setup.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/inference copying pyflux/inference/stoch_optim.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/inference creating build/lib.macosx-10.6-x86_64-3.5/pyflux/output copying pyflux/output/init.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/output copying pyflux/output/tableprinter.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/output creating build/lib.macosx-10.6-x86_64-3.5/pyflux/ssm copying pyflux/ssm/init.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ssm copying pyflux/ssm/dar.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ssm copying pyflux/ssm/dynamic_glm.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ssm copying pyflux/ssm/dynlin.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ssm copying pyflux/ssm/llm.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ssm copying pyflux/ssm/llt.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ssm copying pyflux/ssm/local_level.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ssm copying pyflux/ssm/local_trend.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ssm copying pyflux/ssm/ndynlin.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ssm copying pyflux/ssm/nllm.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ssm copying pyflux/ssm/nllt.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ssm copying pyflux/ssm/setup.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/ssm creating build/lib.macosx-10.6-x86_64-3.5/pyflux/tests copying pyflux/tests/init.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/tests copying pyflux/tests/nhst.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/tests creating build/lib.macosx-10.6-x86_64-3.5/pyflux/var copying pyflux/var/init.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/var copying pyflux/var/setup.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/var copying pyflux/var/var.py -> build/lib.macosx-10.6-x86_64-3.5/pyflux/var running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext building 'pyflux.check_build._check_build' extension compiling C sources C compiler: /usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/pillbug/anaconda3/include -arch x86_64
Command "/Users/pillbug/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/17/gfz9lnjs30l_sd0tgn7v1m3m0000gn/T/pip-build-hktpm5i6/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 /var/folders/17/gfz9lnjs30l_sd0tgn7v1m3m0000gn/T/pip-2tnfhoox-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/17/gfz9lnjs30l_sd0tgn7v1m3m0000gn/T/pip-build-hktpm5i6/pyflux/