soar-telescope / goodman_focus

get the focus of images and spectra
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

pip install failed #26

Closed ghost closed 3 years ago

ghost commented 4 years ago

  Using cached https://files.pythonhosted.org/packages/8f/b7/f329cfdc75f3d28d12c65980e4469e2fa373f1953f5df6e370e84ea2e875/decorator-4.4.1-py2.py3-none-any.whl
Installing collected packages: reproject, decorator, networkx, pillow, imageio, PyWavelets, scikit-image, ccdproc, Pygments, babel, sphinxcontrib-jsmath, snowballstemmer, sphinxcontrib-applehelp, imagesize, sphinxcontrib-htmlhelp, MarkupSafe, Jinja2, sphinxcontrib-qthelp, packaging, alabaster, sphinxcontrib-serializinghtml, sphinxcontrib-devhelp, docutils, sphinx, goodman-focus
    Running setup.py install for reproject ... error
    ERROR: Command errored out with exit status 1:
     command: /data/home/dgomez/.pyenvs/py38/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-3366av9v/reproject/setup.py'"'"'; __file__='"'"'/tmp/pip-install-3366av9v/reproject/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-tvg2_w1l/install-record.txt --single-version-externally-managed --compile --install-headers /data/home/dgomez/.pyenvs/py38/include/site/python3.8/reproject
         cwd: /tmp/pip-install-3366av9v/reproject/
    Complete output (192 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.8
    creating build/lib.linux-x86_64-3.8/reproject
    copying reproject/utils.py -> build/lib.linux-x86_64-3.8/reproject
    copying reproject/_astropy_init.py -> build/lib.linux-x86_64-3.8/reproject
    copying reproject/conftest.py -> build/lib.linux-x86_64-3.8/reproject
    copying reproject/cython_version.py -> build/lib.linux-x86_64-3.8/reproject
    copying reproject/setup_package.py -> build/lib.linux-x86_64-3.8/reproject
    copying reproject/array_utils.py -> build/lib.linux-x86_64-3.8/reproject
    copying reproject/version.py -> build/lib.linux-x86_64-3.8/reproject
    copying reproject/wcs_utils.py -> build/lib.linux-x86_64-3.8/reproject
    copying reproject/__init__.py -> build/lib.linux-x86_64-3.8/reproject
    copying reproject/compat.py -> build/lib.linux-x86_64-3.8/reproject
    copying reproject/mosaicking.py -> build/lib.linux-x86_64-3.8/reproject
    creating build/lib.linux-x86_64-3.8/reproject/spherical_intersect
    copying reproject/spherical_intersect/overlap.py -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect
    copying reproject/spherical_intersect/setup_package.py -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect
    copying reproject/spherical_intersect/high_level.py -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect
    copying reproject/spherical_intersect/__init__.py -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect
    copying reproject/spherical_intersect/core.py -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect
    creating build/lib.linux-x86_64-3.8/reproject/interpolation
    copying reproject/interpolation/core_full.py -> build/lib.linux-x86_64-3.8/reproject/interpolation
    copying reproject/interpolation/high_level.py -> build/lib.linux-x86_64-3.8/reproject/interpolation
    copying reproject/interpolation/core_celestial.py -> build/lib.linux-x86_64-3.8/reproject/interpolation
    copying reproject/interpolation/__init__.py -> build/lib.linux-x86_64-3.8/reproject/interpolation
    creating build/lib.linux-x86_64-3.8/reproject/tests
    copying reproject/tests/test_utils.py -> build/lib.linux-x86_64-3.8/reproject/tests
    copying reproject/tests/test_high_level.py -> build/lib.linux-x86_64-3.8/reproject/tests
    copying reproject/tests/test_mosaicking.py -> build/lib.linux-x86_64-3.8/reproject/tests
    copying reproject/tests/__init__.py -> build/lib.linux-x86_64-3.8/reproject/tests
    creating build/lib.linux-x86_64-3.8/reproject/healpix
    copying reproject/healpix/utils.py -> build/lib.linux-x86_64-3.8/reproject/healpix
    copying reproject/healpix/high_level.py -> build/lib.linux-x86_64-3.8/reproject/healpix
    copying reproject/healpix/__init__.py -> build/lib.linux-x86_64-3.8/reproject/healpix
    copying reproject/healpix/core.py -> build/lib.linux-x86_64-3.8/reproject/healpix
    creating build/lib.linux-x86_64-3.8/reproject/spherical_intersect/tests
    copying reproject/spherical_intersect/tests/test_high_level.py -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect/tests
    copying reproject/spherical_intersect/tests/test_reproject.py -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect/tests
    copying reproject/spherical_intersect/tests/__init__.py -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect/tests
    copying reproject/spherical_intersect/tests/test_overlap.py -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect/tests
    creating build/lib.linux-x86_64-3.8/reproject/interpolation/tests
    copying reproject/interpolation/tests/test_core.py -> build/lib.linux-x86_64-3.8/reproject/interpolation/tests
    copying reproject/interpolation/tests/__init__.py -> build/lib.linux-x86_64-3.8/reproject/interpolation/tests
    creating build/lib.linux-x86_64-3.8/reproject/healpix/tests
    copying reproject/healpix/tests/test_utils.py -> build/lib.linux-x86_64-3.8/reproject/healpix/tests
    copying reproject/healpix/tests/setup_package.py -> build/lib.linux-x86_64-3.8/reproject/healpix/tests
    copying reproject/healpix/tests/test_healpix.py -> build/lib.linux-x86_64-3.8/reproject/healpix/tests
    copying reproject/healpix/tests/__init__.py -> build/lib.linux-x86_64-3.8/reproject/healpix/tests
    copying reproject/_compiler.c -> build/lib.linux-x86_64-3.8/reproject
    copying reproject/spherical_intersect/overlapArea.c -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect
    copying reproject/spherical_intersect/reproject_slice_c.c -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect
    copying reproject/spherical_intersect/overlapAreaPP.c -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect
    copying reproject/spherical_intersect/_overlap.c -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect
    copying reproject/spherical_intersect/overlapArea.h -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect
    copying reproject/spherical_intersect/reproject_slice_c.h -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect
    copying reproject/spherical_intersect/mNaN.h -> build/lib.linux-x86_64-3.8/reproject/spherical_intersect
    copying reproject/tests/coveragerc -> build/lib.linux-x86_64-3.8/reproject/tests
    creating build/lib.linux-x86_64-3.8/reproject/tests/data
    copying reproject/tests/data/equatorial_3d.fits -> build/lib.linux-x86_64-3.8/reproject/tests/data
    copying reproject/tests/data/gc_eq.hdr -> build/lib.linux-x86_64-3.8/reproject/tests/data
    copying reproject/tests/data/gc_ga.hdr -> build/lib.linux-x86_64-3.8/reproject/tests/data
    copying reproject/tests/data/mwpan2_RGB_3600.hdr -> build/lib.linux-x86_64-3.8/reproject/tests/data
    copying reproject/tests/data/galactic_2d.fits -> build/lib.linux-x86_64-3.8/reproject/tests/data
    copying reproject/tests/data/cube.hdr -> build/lib.linux-x86_64-3.8/reproject/tests/data
    creating build/lib.linux-x86_64-3.8/reproject/interpolation/tests/reference
    copying reproject/interpolation/tests/reference/test_reproject_celestial_3d_equ2gal.fits -> build/lib.linux-x86_64-3.8/reproject/interpolation/tests/reference
    copying reproject/interpolation/tests/reference/test_small_cutout.fits -> build/lib.linux-x86_64-3.8/reproject/interpolation/tests/reference
    copying reproject/interpolation/tests/reference/test_reproject_celestial_2d_gal2equ.fits -> build/lib.linux-x86_64-3.8/reproject/interpolation/tests/reference
    creating build/lib.linux-x86_64-3.8/reproject/healpix/tests/data
    copying reproject/healpix/tests/data/bayestar.fits.gz -> build/lib.linux-x86_64-3.8/reproject/healpix/tests/data
    copying reproject/healpix/tests/data/reference_result.fits -> build/lib.linux-x86_64-3.8/reproject/healpix/tests/data
    running build_ext
    building 'reproject._compiler' extension
    creating build/temp.linux-x86_64-3.8
    creating build/temp.linux-x86_64-3.8/reproject
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/data/home/dgomez/.pyenvs/py38/include -I/usr/local/include/python3.8 -c reproject/_compiler.c -o build/temp.linux-x86_64-3.8/reproject/_compiler.o
    gcc -pthread -shared build/temp.linux-x86_64-3.8/reproject/_compiler.o -o build/lib.linux-x86_64-3.8/reproject/_compiler.cpython-38-x86_64-linux-gnu.so
    building 'reproject.spherical_intersect._overlap' extension
    creating build/temp.linux-x86_64-3.8/reproject/spherical_intersect
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/data/home/dgomez/.pyenvs/py38/lib/python3.8/site-packages/numpy/core/include -Ireproject/spherical_intersect -I/data/home/dgomez/.pyenvs/py38/include -I/usr/local/include/python3.8 -c reproject/spherical_intersect/_overlap.c -o build/temp.linux-x86_64-3.8/reproject/spherical_intersect/_overlap.o -O2
    In file included from /data/home/dgomez/.pyenvs/py38/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1830:0,
                     from /data/home/dgomez/.pyenvs/py38/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /data/home/dgomez/.pyenvs/py38/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from reproject/spherical_intersect/_overlap.c:615:
    /data/home/dgomez/.pyenvs/py38/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^
    reproject/spherical_intersect/_overlap.c: In function ‘__Pyx_InitCachedConstants’:
    reproject/spherical_intersect/_overlap.c:5840:3: warning: passing argument 6 of ‘PyCode_New’ makes pointer from integer without a cast [enabled by default]
       __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(14, 0, 0, 23, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_reproject_spherical_intersect__o, __pyx_n_s_reproject_slice_cython, 19, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) __PYX_ERR(0, 19, __pyx_L1_error)
       ^
    In file included from /usr/local/include/python3.8/compile.h:5:0,
                     from /usr/local/include/python3.8/Python.h:138,
                     from reproject/spherical_intersect/_overlap.c:4:
    /usr/local/include/python3.8/code.h:122:28: note: expected ‘struct PyObject *’ but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^
    reproject/spherical_intersect/_overlap.c:5840:3: warning: passing argument 14 of ‘PyCode_New’ makes integer from pointer without a cast [enabled by default]
       __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(14, 0, 0, 23, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_reproject_spherical_intersect__o, __pyx_n_s_reproject_slice_cython, 19, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) __PYX_ERR(0, 19, __pyx_L1_error)
       ^
    In file included from /usr/local/include/python3.8/compile.h:5:0,
                     from /usr/local/include/python3.8/Python.h:138,
                     from reproject/spherical_intersect/_overlap.c:4:
    /usr/local/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is of type ‘struct PyObject *’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^
    reproject/spherical_intersect/_overlap.c:5840:3: warning: passing argument 15 of ‘PyCode_New’ makes pointer from integer without a cast [enabled by default]
       __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(14, 0, 0, 23, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_reproject_spherical_intersect__o, __pyx_n_s_reproject_slice_cython, 19, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) __PYX_ERR(0, 19, __pyx_L1_error)
       ^
    In file included from /usr/local/include/python3.8/compile.h:5:0,
                     from /usr/local/include/python3.8/Python.h:138,
                     from reproject/spherical_intersect/_overlap.c:4:
    /usr/local/include/python3.8/code.h:122:28: note: expected ‘struct PyObject *’ but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^
    reproject/spherical_intersect/_overlap.c:5840:3: error: too many arguments to function ‘PyCode_New’
       __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(14, 0, 0, 23, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_reproject_spherical_intersect__o, __pyx_n_s_reproject_slice_cython, 19, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) __PYX_ERR(0, 19, __pyx_L1_error)
       ^
    In file included from /usr/local/include/python3.8/compile.h:5:0,
                     from /usr/local/include/python3.8/Python.h:138,
                     from reproject/spherical_intersect/_overlap.c:4:
    /usr/local/include/python3.8/code.h:122:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^
    reproject/spherical_intersect/_overlap.c:5852:3: warning: passing argument 6 of ‘PyCode_New’ makes pointer from integer without a cast [enabled by default]
       __pyx_codeobj__13 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 8, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_reproject_spherical_intersect__o, __pyx_n_s_compute_overlap, 55, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__13)) __PYX_ERR(0, 55, __pyx_L1_error)
       ^
    In file included from /usr/local/include/python3.8/compile.h:5:0,
                     from /usr/local/include/python3.8/Python.h:138,
                     from reproject/spherical_intersect/_overlap.c:4:
    /usr/local/include/python3.8/code.h:122:28: note: expected ‘struct PyObject *’ but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^
    reproject/spherical_intersect/_overlap.c:5852:3: warning: passing argument 14 of ‘PyCode_New’ makes integer from pointer without a cast [enabled by default]
       __pyx_codeobj__13 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 8, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_reproject_spherical_intersect__o, __pyx_n_s_compute_overlap, 55, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__13)) __PYX_ERR(0, 55, __pyx_L1_error)
       ^
    In file included from /usr/local/include/python3.8/compile.h:5:0,
                     from /usr/local/include/python3.8/Python.h:138,
                     from reproject/spherical_intersect/_overlap.c:4:
    /usr/local/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is of type ‘struct PyObject *’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^
    reproject/spherical_intersect/_overlap.c:5852:3: warning: passing argument 15 of ‘PyCode_New’ makes pointer from integer without a cast [enabled by default]
       __pyx_codeobj__13 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 8, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_reproject_spherical_intersect__o, __pyx_n_s_compute_overlap, 55, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__13)) __PYX_ERR(0, 55, __pyx_L1_error)
       ^
    In file included from /usr/local/include/python3.8/compile.h:5:0,
                     from /usr/local/include/python3.8/Python.h:138,
                     from reproject/spherical_intersect/_overlap.c:4:
    /usr/local/include/python3.8/code.h:122:28: note: expected ‘struct PyObject *’ but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^
    reproject/spherical_intersect/_overlap.c:5852:3: error: too many arguments to function ‘PyCode_New’
       __pyx_codeobj__13 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 8, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_reproject_spherical_intersect__o, __pyx_n_s_compute_overlap, 55, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__13)) __PYX_ERR(0, 55, __pyx_L1_error)
       ^
    In file included from /usr/local/include/python3.8/compile.h:5:0,
                     from /usr/local/include/python3.8/Python.h:138,
                     from reproject/spherical_intersect/_overlap.c:4:
    /usr/local/include/python3.8/code.h:122:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^
    reproject/spherical_intersect/_overlap.c: In function ‘__Pyx_CreateCodeObjectForTraceback’:
    reproject/spherical_intersect/_overlap.c:8102:5: warning: passing argument 14 of ‘PyCode_New’ makes integer from pointer without a cast [enabled by default]
         py_code = __Pyx_PyCode_New(
         ^
    In file included from /usr/local/include/python3.8/compile.h:5:0,
                     from /usr/local/include/python3.8/Python.h:138,
                     from reproject/spherical_intersect/_overlap.c:4:
    /usr/local/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is of type ‘struct PyObject *’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^
    reproject/spherical_intersect/_overlap.c:8102:5: warning: passing argument 15 of ‘PyCode_New’ makes pointer from integer without a cast [enabled by default]
         py_code = __Pyx_PyCode_New(
         ^
    In file included from /usr/local/include/python3.8/compile.h:5:0,
                     from /usr/local/include/python3.8/Python.h:138,
                     from reproject/spherical_intersect/_overlap.c:4:
    /usr/local/include/python3.8/code.h:122:28: note: expected ‘struct PyObject *’ but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^
    reproject/spherical_intersect/_overlap.c:8102:5: error: too many arguments to function ‘PyCode_New’
         py_code = __Pyx_PyCode_New(
         ^
    In file included from /usr/local/include/python3.8/compile.h:5:0,
                     from /usr/local/include/python3.8/Python.h:138,
                     from reproject/spherical_intersect/_overlap.c:4:
    /usr/local/include/python3.8/code.h:122:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /data/home/dgomez/.pyenvs/py38/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-3366av9v/reproject/setup.py'"'"'; __file__='"'"'/tmp/pip-install-3366av9v/reproject/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-tvg2_w1l/install-record.txt --single-version-externally-managed --compile --install-headers /data/home/dgomez/.pyenvs/py38/include/site/python3.8/reproject Check the logs for full command output.```
simontorres commented 3 years ago

Outdated, probably the problem was the python version