{"action":"created","issue":{"url":"https://api.github.com/repos/pyamg/pyamg/issues/163","labels_url":"https://api.github.com/repos/pyamg/pyamg/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/pyamg/pyamg/issues/163/comments","events_url":"https://api.github.com/repos/pyamg/pyamg/issues/163/events","html_url":"https://github.com/pyamg/pyamg/issues/163","id":120581218,"number":163,"title":"Problems installing pyamg on Travis-CI","user":{"login":"JDWarner","id":2184487,"avatar_url":"https://avatars.githubusercontent.com/u/2184487?v=3","gravatar_id":"","url":"https://api.github.com/users/JDWarner","html_url":"https://github.com/JDWarner","followers_url":"https://api.github.com/users/JDWarner/followers","following_url":"https://api.github.com/users/JDWarner/following{/other_user}","gists_url":"https://api.github.com/users/JDWarner/gists{/gist_id}","starred_url":"https://api.github.com/users/JDWarner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDWarner/subscriptions","organizations_url":"https://api.github.com/users/JDWarner/orgs","repos_url":"https://api.github.com/users/JDWarner/repos","events_url":"https://api.github.com/users/JDWarner/events{/privacy}","received_events_url":"https://api.github.com/users/JDWarner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-05T19:17:59Z","updated_at":"2015-12-10T06:36:48Z","closed_at":null,"body":"In [scikit-image](https://github.com/scikit-image/scikit-image) we use pyamg as an optional dependency. Our continuous integration build with Travis-CI has been broken since 2.3.x was released ~26 days ago; see [Issue 1788](https://github.com/scikit-image/scikit-image/issues/1788).\r\n\r\nThe way we previously installed pyamg was \r\n\r\n`pip install --retries 3 -q pyamg`\r\n\r\nwhich still works on all of my personal test platforms. Unfortunately, this does not work any longer with Travis, and we're scratching our heads over this one. I removed the `-q` from the call for a private build to [obtain the following log](https://travis-ci.org/JDWarner/scikit-image/jobs/95088900).\r\n\r\n```\r\npip install --retries 3 pyamg\r\nCollecting pyamg\r\n  Downloading pyamg-3.0.1.tar.gz (759kB)\r\n    100% |████████████████████████████████| 761kB 718kB/s \r\nBuilding wheels for collected packages: pyamg\r\n  Running setup.py bdist_wheel for pyamg\r\n  Complete output from command /home/travis/venv/bin/python -c \"import setuptools;__file__='/tmp/pip-build-_TPeac/pyamg/setup.py';exec(compile(open(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" bdist_wheel -d /tmp/tmpsi3gXIpip-wheel-:\r\n  Running from pyamg source directory.\r\n  running bdist_wheel\r\n  running build\r\n  running config_cc\r\n  unifing config_cc, config, build_clib, build_ext, build commands --compiler options\r\n  running config_fc\r\n  unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options\r\n  running build_src\r\n  build_src\r\n  building py_modules sources\r\n  building extension \"pyamg.amg_core._amg_core\" sources\r\n  building data_files sources\r\n  build_src: building npy-pkg config files\r\n  running build_py\r\n  creating build/lib.linux-x86_64-2.7\r\n  creating build/lib.linux-x86_64-2.7/pyamg\r\n  copying pyamg/__init__.py -> build/lib.linux-x86_64-2.7/pyamg\r\n  copying pyamg/blackbox.py -> build/lib.linux-x86_64-2.7/pyamg\r\n  copying pyamg/graph.py -> build/lib.linux-x86_64-2.7/pyamg\r\n  copying pyamg/info.py -> build/lib.linux-x86_64-2.7/pyamg\r\n  copying pyamg/multilevel.py -> build/lib.linux-x86_64-2.7/pyamg\r\n  copying pyamg/setup.py -> build/lib.linux-x86_64-2.7/pyamg\r\n  copying pyamg/strength.py -> build/lib.linux-x86_64-2.7/pyamg\r\n  copying pyamg/version.py -> build/lib.linux-x86_64-2.7/pyamg\r\n  copying build/src.linux-x86_64-2.7/pyamg/__config__.py -> build/lib.linux-x86_64-2.7/pyamg\r\n  creating build/lib.linux-x86_64-2.7/pyamg/aggregation\r\n  copying pyamg/aggregation/__init__.py -> build/lib.linux-x86_64-2.7/pyamg/aggregation\r\n  copying pyamg/aggregation/adaptive.py -> build/lib.linux-x86_64-2.7/pyamg/aggregation\r\n  copying pyamg/aggregation/aggregate.py -> build/lib.linux-x86_64-2.7/pyamg/aggregation\r\n  copying pyamg/aggregation/aggregation.py -> build/lib.linux-x86_64-2.7/pyamg/aggregation\r\n  copying pyamg/aggregation/rootnode.py -> build/lib.linux-x86_64-2.7/pyamg/aggregation\r\n  copying pyamg/aggregation/setup.py -> build/lib.linux-x86_64-2.7/pyamg/aggregation\r\n  copying pyamg/aggregation/smooth.py -> build/lib.linux-x86_64-2.7/pyamg/aggregation\r\n  copying pyamg/aggregation/tentative.py -> build/lib.linux-x86_64-2.7/pyamg/aggregation\r\n  creating build/lib.linux-x86_64-2.7/pyamg/classical\r\n  copying pyamg/classical/__init__.py -> build/lib.linux-x86_64-2.7/pyamg/classical\r\n  copying pyamg/classical/classical.py -> build/lib.linux-x86_64-2.7/pyamg/classical\r\n  copying pyamg/classical/cr.py -> build/lib.linux-x86_64-2.7/pyamg/classical\r\n  copying pyamg/classical/interpolate.py -> build/lib.linux-x86_64-2.7/pyamg/classical\r\n  copying pyamg/classical/setup.py -> build/lib.linux-x86_64-2.7/pyamg/classical\r\n  copying pyamg/classical/split.py -> build/lib.linux-x86_64-2.7/pyamg/classical\r\n  creating build/lib.linux-x86_64-2.7/pyamg/gallery\r\n  copying pyamg/gallery/__init__.py -> build/lib.linux-x86_64-2.7/pyamg/gallery\r\n  copying pyamg/gallery/demo.py -> build/lib.linux-x86_64-2.7/pyamg/gallery\r\n  copying pyamg/gallery/diffusion.py -> build/lib.linux-x86_64-2.7/pyamg/gallery\r\n  copying pyamg/gallery/elasticity.py -> build/lib.linux-x86_64-2.7/pyamg/gallery\r\n  copying pyamg/gallery/example.py -> build/lib.linux-x86_64-2.7/pyamg/gallery\r\n  copying pyamg/gallery/info.py -> build/lib.linux-x86_64-2.7/pyamg/gallery\r\n  copying pyamg/gallery/laplacian.py -> build/lib.linux-x86_64-2.7/pyamg/gallery\r\n  copying pyamg/gallery/mesh.py -> build/lib.linux-x86_64-2.7/pyamg/gallery\r\n  copying pyamg/gallery/random_sparse.py -> build/lib.linux-x86_64-2.7/pyamg/gallery\r\n  copying pyamg/gallery/setup.py -> build/lib.linux-x86_64-2.7/pyamg/gallery\r\n  copying pyamg/gallery/stencil.py -> build/lib.linux-x86_64-2.7/pyamg/gallery\r\n  creating build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/__init__.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/_bicgstab.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/_cg.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/_cgne.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/_cgnr.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/_cr.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/_fgmres.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/_gmres.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/_gmres_householder.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/_gmres_mgs.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/_minimal_residual.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/_steepest_descent.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/info.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  copying pyamg/krylov/setup.py -> build/lib.linux-x86_64-2.7/pyamg/krylov\r\n  creating build/lib.linux-x86_64-2.7/pyamg/amg_core\r\n  copying pyamg/amg_core/__init__.py -> build/lib.linux-x86_64-2.7/pyamg/amg_core\r\n  copying pyamg/amg_core/amg_core.py -> build/lib.linux-x86_64-2.7/pyamg/amg_core\r\n  copying pyamg/amg_core/setup.py -> build/lib.linux-x86_64-2.7/pyamg/amg_core\r\n  creating build/lib.linux-x86_64-2.7/pyamg/relaxation\r\n  copying pyamg/relaxation/__init__.py -> build/lib.linux-x86_64-2.7/pyamg/relaxation\r\n  copying pyamg/relaxation/chebyshev.py -> build/lib.linux-x86_64-2.7/pyamg/relaxation\r\n  copying pyamg/relaxation/info.py -> build/lib.linux-x86_64-2.7/pyamg/relaxation\r\n  copying pyamg/relaxation/relaxation.py -> build/lib.linux-x86_64-2.7/pyamg/relaxation\r\n  copying pyamg/relaxation/setup.py -> build/lib.linux-x86_64-2.7/pyamg/relaxation\r\n  copying pyamg/relaxation/smoothing.py -> build/lib.linux-x86_64-2.7/pyamg/relaxation\r\n  creating build/lib.linux-x86_64-2.7/pyamg/testing\r\n  copying pyamg/testing/__init__.py -> build/lib.linux-x86_64-2.7/pyamg/testing\r\n  creating build/lib.linux-x86_64-2.7/pyamg/util\r\n  copying pyamg/util/__init__.py -> build/lib.linux-x86_64-2.7/pyamg/util\r\n  copying pyamg/util/BSR_utils.py -> build/lib.linux-x86_64-2.7/pyamg/util\r\n  copying pyamg/util/info.py -> build/lib.linux-x86_64-2.7/pyamg/util\r\n  copying pyamg/util/linalg.py -> build/lib.linux-x86_64-2.7/pyamg/util\r\n  copying pyamg/util/setup.py -> build/lib.linux-x86_64-2.7/pyamg/util\r\n  copying pyamg/util/utils.py -> build/lib.linux-x86_64-2.7/pyamg/util\r\n  creating build/lib.linux-x86_64-2.7/pyamg/vis\r\n  copying pyamg/vis/__init__.py -> build/lib.linux-x86_64-2.7/pyamg/vis\r\n  copying pyamg/vis/info.py -> build/lib.linux-x86_64-2.7/pyamg/vis\r\n  copying pyamg/vis/setup.py -> build/lib.linux-x86_64-2.7/pyamg/vis\r\n  copying pyamg/vis/vis_coarse.py -> build/lib.linux-x86_64-2.7/pyamg/vis\r\n  copying pyamg/vis/vtk_writer.py -> build/lib.linux-x86_64-2.7/pyamg/vis\r\n  running build_ext\r\n  customize UnixCCompiler\r\n  customize UnixCCompiler using build_ext\r\n  customize UnixCCompiler\r\n  customize UnixCCompiler using build_ext\r\n  building 'pyamg.amg_core._amg_core' extension\r\n  compiling C++ sources\r\n  C compiler: g++ -pthread -fno-strict-aliasing -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -g -fwrapv -O3 -Wall -fPIC\r\n  \r\n  creating build/temp.linux-x86_64-2.7\r\n  creating build/temp.linux-x86_64-2.7/pyamg\r\n  creating build/temp.linux-x86_64-2.7/pyamg/amg_core\r\n  compile options: '-D__STDC_FORMAT_MACROS=1 -I/home/travis/venv/lib/python2.7/site-packages/numpy/core/include -I/opt/python/2.7.9/include/python2.7 -c'\r\n  g++: pyamg/amg_core/amg_core_wrap.cxx\r\n  pyamg/amg_core/amg_core_wrap.cxx: In function ‘PyArrayObject* make_fortran(PyArrayObject*, int*)’:\r\n  pyamg/amg_core/amg_core_wrap.cxx:3596:51: error: ‘NPY_ARRAY_F_CONTIGUOUS’ was not declared in this scope\r\n  pyamg/amg_core/amg_core_wrap.cxx: In function ‘PyArrayObject* make_fortran(PyArrayObject*, int*)’:\r\n  pyamg/amg_core/amg_core_wrap.cxx:3596:51: error: ‘NPY_ARRAY_F_CONTIGUOUS’ was not declared in this scope\r\n  error: Command \"g++ -pthread -fno-strict-aliasing -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -D__STDC_FORMAT_MACROS=1 -I/home/travis/venv/lib/python2.7/site-packages/numpy/core/include -I/opt/python/2.7.9/include/python2.7 -c pyamg/amg_core/amg_core_wrap.cxx -o build/temp.linux-x86_64-2.7/pyamg/amg_core/amg_core_wrap.o\" failed with exit status 1\r\n  \r\n  ----------------------------------------\r\n  Failed building wheel for pyamg\r\nFailed to build pyamg\r\nInstalling collected packages: pyamg\r\n  Running setup.py install for pyamg\r\n    Complete output from command /home/travis/venv/bin/python -c \"import setuptools, tokenize;__file__='/tmp/pip-build-_TPeac/pyamg/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-nk3_ke-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/travis/venv/include/site/python2.7/pyamg:\r\n    Running from pyamg source directory.\r\n    running install\r\n    running build\r\n    running config_cc\r\n    unifing config_cc, config, build_clib, build_ext, build commands --compiler options\r\n    running config_fc\r\n    unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options\r\n    running build_src\r\n    build_src\r\n    building py_modules sources\r\n    building extension \"pyamg.amg_core._amg_core\" sources\r\n    building data_files sources\r\n    build_src: building npy-pkg config files\r\n    running build_py\r\n    copying pyamg/version.py -> build/lib.linux-x86_64-2.7/pyamg\r\n    copying build/src.linux-x86_64-2.7/pyamg/__config__.py -> build/lib.linux-x86_64-2.7/pyamg\r\n    running build_ext\r\n    customize UnixCCompiler\r\n    customize UnixCCompiler using build_ext\r\n    customize UnixCCompiler\r\n    customize UnixCCompiler using build_ext\r\n    building 'pyamg.amg_core._amg_core' extension\r\n    compiling C++ sources\r\n    C compiler: g++ -pthread -fno-strict-aliasing -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -g -fwrapv -O3 -Wall -fPIC\r\n    \r\n    compile options: '-D__STDC_FORMAT_MACROS=1 -I/home/travis/venv/lib/python2.7/site-packages/numpy/core/include -I/opt/python/2.7.9/include/python2.7 -c'\r\n    g++: pyamg/amg_core/amg_core_wrap.cxx\r\n    pyamg/amg_core/amg_core_wrap.cxx: In function ‘PyArrayObject* make_fortran(PyArrayObject*, int*)’:\r\n    pyamg/amg_core/amg_core_wrap.cxx:3596:51: error: ‘NPY_ARRAY_F_CONTIGUOUS’ was not declared in this scope\r\n    pyamg/amg_core/amg_core_wrap.cxx: In function ‘PyArrayObject* make_fortran(PyArrayObject*, int*)’:\r\n    pyamg/amg_core/amg_core_wrap.cxx:3596:51: error: ‘NPY_ARRAY_F_CONTIGUOUS’ was not declared in this scope\r\n    error: Command \"g++ -pthread -fno-strict-aliasing -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -D__STDC_FORMAT_MACROS=1 -I/home/travis/venv/lib/python2.7/site-packages/numpy/core/include -I/opt/python/2.7.9/include/python2.7 -c pyamg/amg_core/amg_core_wrap.cxx -o build/temp.linux-x86_64-2.7/pyamg/amg_core/amg_core_wrap.o\" failed with exit status 1\r\n    \r\n    ----------------------------------------\r\nCommand \"/home/travis/venv/bin/python -c \"import setuptools, tokenize;__file__='/tmp/pip-build-_TPeac/pyamg/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-nk3_ke-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/travis/venv/include/site/python2.7/pyamg\" failed with error code 1 in /tmp/pip-build-_TPeac/pyamg\r\n```\r\n\r\nRather than simply requiring version 2.2, I'm hoping you can point us in the right direction."},"comment":{"url":"https://api.github.com/repos/pyamg/pyamg/issues/comments/163515455","html_url":"https://github.com/pyamg/pyamg/issues/163#issuecomment-163515455","issue_url":"https://api.github.com/repos/pyamg/pyamg/issues/163","id":163515455,"user":{"login":"Hiyorimi","id":3055666,"avatar_url":"https://avatars.githubusercontent.com/u/3055666?v=3","gravatar_id":"","url":"https://api.github.com/users/Hiyorimi","html_url":"https://github.com/Hiyorimi","followers_url":"https://api.github.com/users/Hiyorimi/followers","following_url":"https://api.github.com/users/Hiyorimi/following{/other_user}","gists_url":"https://api.github.com/users/Hiyorimi/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiyorimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiyorimi/subscriptions","organizations_url":"https://api.github.com/users/Hiyorimi/orgs","repos_url":"https://api.github.com/users/Hiyorimi/repos","events_url":"https://api.github.com/users/Hiyorimi/events{/privacy}","received_events_url":"https://api.github.com/users/Hiyorimi/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T06:36:47Z","updated_at":"2015-12-10T06:36:47Z","body":"Can I help you with debugging anyhow ?\r\nI still want to commit two filters to scikit-image and CI tests fail on pyamg."}}