RJT1990 / pyflux

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

installation fails on OS X #24

Closed jeffrey-guy-lyon closed 8 years ago

jeffrey-guy-lyon commented 8 years ago

install fails on OS X 10.11.6 with gcc 5.0.0 20141005.

Compilation complains that file limits.h does not exist, but it is there.

jeff ~$: pip install pyflux Collecting pyflux Using cached pyflux-0.3.6.tar.gz Requirement already satisfied (use --upgrade to upgrade): numpy in ./anaconda/lib/python2.7/site-packages (from pyflux) Requirement already satisfied (use --upgrade to upgrade): pandas in ./anaconda/lib/python2.7/site-packages (from pyflux) Requirement already satisfied (use --upgrade to upgrade): scipy in ./anaconda/lib/python2.7/site-packages (from pyflux) Requirement already satisfied (use --upgrade to upgrade): matplotlib in ./anaconda/lib/python2.7/site-packages (from pyflux) Requirement already satisfied (use --upgrade to upgrade): seaborn in ./anaconda/lib/python2.7/site-packages (from pyflux) Requirement already satisfied (use --upgrade to upgrade): numdifftools in ./anaconda/lib/python2.7/site-packages (from pyflux) Requirement already satisfied (use --upgrade to upgrade): patsy in ./anaconda/lib/python2.7/site-packages (from pyflux) Requirement already satisfied (use --upgrade to upgrade): python-dateutil in ./anaconda/lib/python2.7/site-packages (from pandas->pyflux) Requirement already satisfied (use --upgrade to upgrade): pytz>=2011k in ./anaconda/lib/python2.7/site-packages (from pandas->pyflux) Requirement already satisfied (use --upgrade to upgrade): cycler in ./anaconda/lib/python2.7/site-packages (from matplotlib->pyflux) Requirement already satisfied (use --upgrade to upgrade): pyparsing!=2.0.4,>=1.5.6 in ./anaconda/lib/python2.7/site-packages (from matplotlib->pyflux) Requirement already satisfied (use --upgrade to upgrade): algopy>=0.4 in ./anaconda/lib/python2.7/site-packages (from numdifftools->pyflux) Requirement already satisfied (use --upgrade to upgrade): setuptools>=9.0 in ./anaconda/lib/python2.7/site-packages/setuptools-20.3-py2.7.egg (from numdifftools->pyflux) Requirement already satisfied (use --upgrade to upgrade): six in ./anaconda/lib/python2.7/site-packages (from patsy->pyflux) Building wheels for collected packages: pyflux Running setup.py bdist_wheel for pyflux ... error Complete output from command /Volumes/ext/Users/jeff/anaconda/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/n7/cxk7jvfh8xld8w006s6g4lmr0000gp/T/pip-build-QzMJ4N/pyflux/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d /var/folders/n7/cxk7jvfh8xld8w006s6g4lmr0000gp/T/tmpcxgdgcpip-wheel- --python-tag cp27: 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.garch.garch_recursions" sources building extension "pyflux.gas.gas_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.5-x86_64-2.7 creating build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/__init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/covariances.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/data_check.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/latent_variables.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/results.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/tsm.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux creating build/lib.macosx-10.5-x86_64-2.7/pyflux/check_build copying pyflux/__check_build/__init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/check_build copying pyflux/check_build/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/check_build creating build/lib.macosx-10.5-x86_64-2.7/pyflux/arma copying pyflux/arma/__init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/arma copying pyflux/arma/arimax.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/arma copying pyflux/arma/arma.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/arma copying pyflux/arma/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/arma creating build/lib.macosx-10.5-x86_64-2.7/pyflux/distributions copying pyflux/distributions/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/distributions copying pyflux/distributions/distributions.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/distributions copying pyflux/distributions/skewt.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/distributions creating build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/egarch.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/egarchm.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/egarchmreg.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/garch.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/lmegarch.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/lmsegarch.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/segarch.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/segarchm.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch creating build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gas.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gasllm.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gasllt.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gasmodels.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gasrank.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gasreg.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gasx.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/scores.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas creating build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx copying pyflux/gpnarx/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx copying pyflux/gpnarx/gpnarx.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx copying pyflux/gpnarx/gpnarxnew.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx copying pyflux/gpnarx/gpnarxnew2.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx copying pyflux/gpnarx/kernels.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx copying pyflux/gpnarx/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx creating build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/bbvi.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/metropolis_hastings.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/norm_post_sim.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/priors.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/stoch_optim.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference creating build/lib.macosx-10.5-x86_64-2.7/pyflux/output copying pyflux/output/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/output copying pyflux/output/tableprinter.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/output creating build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/dynlin.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/llm.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/llt.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/ndynlin.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/nllm.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/nllt.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm creating build/lib.macosx-10.5-x86_64-2.7/pyflux/tests copying pyflux/tests/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/tests copying pyflux/tests/nhst.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/tests creating build/lib.macosx-10.5-x86_64-2.7/pyflux/var copying pyflux/var/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/var copying pyflux/var/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/var copying pyflux/var/var.py -> build/lib.macosx-10.5-x86_64-2.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 -fno-strict-aliasing -I/Volumes/ext/Users/jeff/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

creating build/temp.macosx-10.5-x86_64-2.7 creating build/temp.macosx-10.5-x86_64-2.7/pyflux creating build/temp.macosx-10.5-x86_64-2.7/pyflux/check_build compile options: '-I/Volumes/ext/Users/jeff/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Volumes/ext/Users/jeff/anaconda/include/python2.7 -c' gcc: pyflux/__check_build/_check_build.c In file included from /usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include-fixed/syslimits.h:7:0, from /usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include-fixed/limits.h:34, from /Volumes/ext/Users/jeff/anaconda/include/python2.7/Python.h:19, from pyflux/check_build/_check_build.c:4: /usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory compilation terminated. In file included from /usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include-fixed/syslimits.h:7:0, from /usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include-fixed/limits.h:34, from /Volumes/ext/Users/jeff/anaconda/include/python2.7/Python.h:19, from pyflux/__check_build/_check_build.c:4: /usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory compilation terminated. error: Command "gcc -fno-strict-aliasing -I/Volumes/ext/Users/jeff/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Volumes/ext/Users/jeff/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Volumes/ext/Users/jeff/anaconda/include/python2.7 -c pyflux/check_build/_check_build.c -o build/temp.macosx-10.5-x86_64-2.7/pyflux/check_build/_check_build.o" 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 /Volumes/ext/Users/jeff/anaconda/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/n7/cxk7jvfh8xld8w006s6g4lmr0000gp/T/pip-build-QzMJ4N/pyflux/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/n7/cxk7jvfh8xld8w006s6g4lmr0000gp/T/pip-Y0Tz9Y-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.garch.garch_recursions" sources building extension "pyflux.gas.gas_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.5-x86_64-2.7 creating build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/__init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/covariances.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/data_check.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/latent_variables.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/results.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux copying pyflux/tsm.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux creating build/lib.macosx-10.5-x86_64-2.7/pyflux/check_build copying pyflux/__check_build/__init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/check_build copying pyflux/check_build/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/check_build creating build/lib.macosx-10.5-x86_64-2.7/pyflux/arma copying pyflux/arma/__init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/arma copying pyflux/arma/arimax.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/arma copying pyflux/arma/arma.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/arma copying pyflux/arma/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/arma creating build/lib.macosx-10.5-x86_64-2.7/pyflux/distributions copying pyflux/distributions/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/distributions copying pyflux/distributions/distributions.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/distributions copying pyflux/distributions/skewt.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/distributions creating build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/egarch.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/egarchm.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/egarchmreg.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/garch.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/lmegarch.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/lmsegarch.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/segarch.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/segarchm.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch copying pyflux/garch/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/garch creating build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gas.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gasllm.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gasllt.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gasmodels.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gasrank.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gasreg.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/gasx.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/scores.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas copying pyflux/gas/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gas creating build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx copying pyflux/gpnarx/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx copying pyflux/gpnarx/gpnarx.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx copying pyflux/gpnarx/gpnarxnew.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx copying pyflux/gpnarx/gpnarxnew2.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx copying pyflux/gpnarx/kernels.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx copying pyflux/gpnarx/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/gpnarx creating build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/bbvi.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/metropolis_hastings.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/norm_post_sim.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/priors.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference copying pyflux/inference/stoch_optim.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/inference creating build/lib.macosx-10.5-x86_64-2.7/pyflux/output copying pyflux/output/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/output copying pyflux/output/tableprinter.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/output creating build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/dynlin.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/llm.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/llt.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/ndynlin.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/nllm.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/nllt.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm copying pyflux/ssm/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/ssm creating build/lib.macosx-10.5-x86_64-2.7/pyflux/tests copying pyflux/tests/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/tests copying pyflux/tests/nhst.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/tests creating build/lib.macosx-10.5-x86_64-2.7/pyflux/var copying pyflux/var/init.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/var copying pyflux/var/setup.py -> build/lib.macosx-10.5-x86_64-2.7/pyflux/var copying pyflux/var/var.py -> build/lib.macosx-10.5-x86_64-2.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 -fno-strict-aliasing -I/Volumes/ext/Users/jeff/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

creating build/temp.macosx-10.5-x86_64-2.7
creating build/temp.macosx-10.5-x86_64-2.7/pyflux
creating build/temp.macosx-10.5-x86_64-2.7/pyflux/__check_build
compile options: '-I/Volumes/ext/Users/jeff/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Volumes/ext/Users/jeff/anaconda/include/python2.7 -c'
gcc: pyflux/__check_build/_check_build.c
In file included from /usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include-fixed/syslimits.h:7:0,
                 from /usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include-fixed/limits.h:34,
                 from /Volumes/ext/Users/jeff/anaconda/include/python2.7/Python.h:19,
                 from pyflux/__check_build/_check_build.c:4:
/usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
compilation terminated.
In file included from /usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include-fixed/syslimits.h:7:0,
                 from /usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include-fixed/limits.h:34,
                 from /Volumes/ext/Users/jeff/anaconda/include/python2.7/Python.h:19,
                 from pyflux/__check_build/_check_build.c:4:
/usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
compilation terminated.
error: Command "gcc -fno-strict-aliasing -I/Volumes/ext/Users/jeff/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Volumes/ext/Users/jeff/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Volumes/ext/Users/jeff/anaconda/include/python2.7 -c pyflux/__check_build/_check_build.c -o build/temp.macosx-10.5-x86_64-2.7/pyflux/__check_build/_check_build.o" failed with exit status 1

----------------------------------------

Command "/Volumes/ext/Users/jeff/anaconda/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/n7/cxk7jvfh8xld8w006s6g4lmr0000gp/T/pip-build-QzMJ4N/pyflux/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/n7/cxk7jvfh8xld8w006s6g4lmr0000gp/T/pip-Y0Tz9Y-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/n7/cxk7jvfh8xld8w006s6g4lmr0000gp/T/pip-build-QzMJ4N/pyflux/

RJT1990 commented 8 years ago

Thanks for reporting - I'll have a more thorough look into this later today. It looks like the headers are not in the expected location - Googling the error seems to confirm this.

RJT1990 commented 8 years ago

Hey Jeffrey, some links that might be helpful:

Seems to be a common error with header locations. Let me know if these help you out. I confess that I'm Linux based so not the best authority on common compiler issues with OSX. If this is a common problem (or a lot of OSX users are experiencing this problem with PyFlux) then I will obviously need to give this more attention.

Thanks again. Ross.

jeffrey-guy-lyon commented 8 years ago

Ross,

Yes that did the trick. Sorry for blaming your package for my local configuration problem! Thank you for tracking down the solution.

I'm looking forward to using pyflux!

-Jeff

On Aug 12, 2016, at 8:36 PM, Ross Taylor notifications@github.com wrote:

Hey Jeffrey, some links that might be helpful:

http://stackoverflow.com/questions/30877659/fatal-error-limits-h-no-such-file-or-directory https://groups.google.com/forum/#!topic/sage-support/On6Xr5JCSwM Seems to be a common error with header locations. Let me know if these help you out. I confess that I'm Linux based so not the best authority on common compiler issues with OSX. If this is a common problem (and specific to PyFlux) then I will obviously need to give this more attention.

Thanks again. Ross.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

RJT1990 commented 8 years ago

No worries at all - perfectly legitimate to raise this issue!

Enjoy, Ross