payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/spacetelescope/synphot_refactor/issues/189","repository_url":"https://api.github.com/repos/spacetelescope/synphot_refactor","labels_url":"https://api.github.com/repos/spacetelescope/synphot_refactor/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/spacetelescope/synphot_refactor/issues/189/comments","events_url":"https://api.github.com/repos/spacetelescope/synphot_refactor/issues/189/events","html_url":"https://github.com/spacetelescope/synphot_refactor/issues/189","id":440566223,"node_id":"MDU6SXNzdWU0NDA1NjYyMjM=","number":189,"title":"Build Fails during Installation","user":{"login":"shreyasbapat","id":24257914,"node_id":"MDQ6VXNlcjI0MjU3OTE0","avatar_url":"https://avatars0.githubusercontent.com/u/24257914?v=4","gravatar_id":"","url":"https://api.github.com/users/shreyasbapat","html_url":"https://github.com/shreyasbapat","followers_url":"https://api.github.com/users/shreyasbapat/followers","following_url":"https://api.github.com/users/shreyasbapat/following{/other_user}","gists_url":"https://api.github.com/users/shreyasbapat/gists{/gist_id}","starred_url":"https://api.github.com/users/shreyasbapat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreyasbapat/subscriptions","organizations_url":"https://api.github.com/users/shreyasbapat/orgs","repos_url":"https://api.github.com/users/shreyasbapat/repos","events_url":"https://api.github.com/users/shreyasbapat/events{/privacy}","received_events_url":"https://api.github.com/users/shreyasbapat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-05-06T07:07:17Z","updated_at":"2019-05-06T07:07:17Z","closed_at":null,"author_association":"NONE","body":"When I am trying to pip install synphot,\r\n\r\n```\r\n(testsbpy) [shreyas@canopus ~]$ pip install synphot\r\nCollecting synphot\r\n  Using cached https://files.pythonhosted.org/packages/37/1c/5f1a593827ca7cfc669fbb4d5959e7bef1d9879c2b8ca6ccdd4c93ff9565/synphot-0.1.3.tar.gz\r\nCollecting numpy (from synphot)\r\n  Using cached https://files.pythonhosted.org/packages/bb/76/24e9f32c78e6f6fb26cf2596b428f393bf015b63459468119f282f70a7fd/numpy-1.16.3-cp37-cp37m-manylinux1_x86_64.whl\r\nCollecting astropy (from synphot)\r\n  Using cached https://files.pythonhosted.org/packages/bd/2b/bda134622a5652d884dd5db8362a54f5c2e2dd793d0a4ce24a50880e698e/astropy-3.1.2-cp37-cp37m-manylinux1_x86_64.whl\r\nBuilding wheels for collected packages: synphot\r\n  Building wheel for synphot (setup.py) ... error\r\n  ERROR: Complete output from command /home/shreyas/testsbpy/bin/python -u -c 'import setuptools, tokenize;__file__='\"'\"'/tmp/pip-install-53bkzum7/synphot/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' bdist_wheel -d /tmp/pip-wheel-6ap0fngi --python-tag cp37:\r\n  ERROR: running bdist_wheel\r\n  running build\r\n  running build_py\r\n  creating build\r\n  creating build/lib.linux-x86_64-3.7\r\n  creating build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/version.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/utils.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/units.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/thermal.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/spectrum.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/specio.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/setup_package.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/reddening.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/observation.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/models.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/exceptions.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/docstrings.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/cython_version.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/conftest.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/config.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/compat.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/binning.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/_astropy_init.py -> build/lib.linux-x86_64-3.7/synphot\r\n  copying synphot/__init__.py -> build/lib.linux-x86_64-3.7/synphot\r\n  creating build/lib.linux-x86_64-3.7/synphot/tests\r\n  copying synphot/tests/test_utils.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n  copying synphot/tests/test_units.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n  copying synphot/tests/test_thermal.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n  copying synphot/tests/test_spectrum.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n  copying synphot/tests/test_specio.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n  copying synphot/tests/test_reddening.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n  copying synphot/tests/test_observation.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n  copying synphot/tests/test_models.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n  copying synphot/tests/test_integrator.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n  copying synphot/tests/test_binning.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n  copying synphot/tests/setup_package.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n  copying synphot/tests/__init__.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n  creating build/lib.linux-x86_64-3.7/synphot/extern\r\n  copying synphot/extern/six.py -> build/lib.linux-x86_64-3.7/synphot/extern\r\n  copying synphot/extern/__init__.py -> build/lib.linux-x86_64-3.7/synphot/extern\r\n  copying synphot/_compiler.c -> build/lib.linux-x86_64-3.7/synphot\r\n  creating build/lib.linux-x86_64-3.7/synphot/src\r\n  copying synphot/src/synphot_utils.c -> build/lib.linux-x86_64-3.7/synphot/src\r\n  copying synphot/src/docstrings.c -> build/lib.linux-x86_64-3.7/synphot/src\r\n  copying synphot/tests/coveragerc -> build/lib.linux-x86_64-3.7/synphot/tests\r\n  creating build/lib.linux-x86_64-3.7/synphot/tests/data\r\n  copying synphot/tests/data/wfc3_ir_g141_src_003_th.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n  copying synphot/tests/data/us7.txt -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n  copying synphot/tests/data/stis_fuv_f25ndq2_mjd58300_0822774.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n  copying synphot/tests/data/stis_fuv_f25ndq2_binset.bin -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n  copying synphot/tests/data/qso_template_001.dat -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n  copying synphot/tests/data/milkyway_diffuse_001.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n  copying synphot/tests/data/k93_4500_0_5_rn_box.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n  copying synphot/tests/data/hst_acs_hrc_f850lp.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n  copying synphot/tests/data/hst_acs_hrc_f555w_x_grw70d5824.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n  copying synphot/tests/data/hst_acs_hrc_f555w.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n  copying synphot/tests/data/grw_70d5824_stisnic_005.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n  copying synphot/tests/data/cos_fuv_g130m_c1309_psa.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n  running build_ext\r\n  Traceback (most recent call last):\r\n    File \"<string>\", line 1, in <module>\r\n    File \"/tmp/pip-install-53bkzum7/synphot/setup.py\", line 120, in <module>\r\n      **package_info)\r\n    File \"/home/shreyas/testsbpy/lib/python3.7/site-packages/setuptools/__init__.py\", line 145, in setup\r\n      return distutils.core.setup(**attrs)\r\n    File \"/home/shreyas/Softwares/anaconda3/lib/python3.7/distutils/core.py\", line 148, in setup\r\n      dist.run_commands()\r\n    File \"/home/shreyas/Softwares/anaconda3/lib/python3.7/distutils/dist.py\", line 966, in run_commands\r\n      self.run_command(cmd)\r\n    File \"/home/shreyas/Softwares/anaconda3/lib/python3.7/distutils/dist.py\", line 985, in run_command\r\n      cmd_obj.run()\r\n    File \"/home/shreyas/testsbpy/lib/python3.7/site-packages/wheel/bdist_wheel.py\", line 192, in run\r\n      self.run_command('build')\r\n    File \"/home/shreyas/Softwares/anaconda3/lib/python3.7/distutils/cmd.py\", line 313, in run_command\r\n      self.distribution.run_command(command)\r\n    File \"/home/shreyas/Softwares/anaconda3/lib/python3.7/distutils/dist.py\", line 985, in run_command\r\n      cmd_obj.run()\r\n    File \"/home/shreyas/Softwares/anaconda3/lib/python3.7/distutils/command/build.py\", line 135, in run\r\n      self.run_command(cmd_name)\r\n    File \"/home/shreyas/Softwares/anaconda3/lib/python3.7/distutils/cmd.py\", line 313, in run_command\r\n      self.distribution.run_command(command)\r\n    File \"/home/shreyas/Softwares/anaconda3/lib/python3.7/distutils/dist.py\", line 985, in run_command\r\n      cmd_obj.run()\r\n    File \"/tmp/pip-install-53bkzum7/synphot/astropy_helpers/astropy_helpers/commands/build_ext.py\", line 296, in run\r\n      np_include = get_numpy_include_path()\r\n    File \"/tmp/pip-install-53bkzum7/synphot/astropy_helpers/astropy_helpers/utils.py\", line 89, in get_numpy_include_path\r\n      import numpy\r\n  ModuleNotFoundError: No module named 'numpy'\r\n  ----------------------------------------\r\n  ERROR: Failed building wheel for synphot\r\n  Running setup.py clean for synphot\r\nFailed to build synphot\r\nInstalling collected packages: numpy, astropy, synphot\r\n  Running setup.py install for synphot ... error\r\n    ERROR: Complete output from command /home/shreyas/testsbpy/bin/python -u -c 'import setuptools, tokenize;__file__='\"'\"'/tmp/pip-install-53bkzum7/synphot/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-__s7s62c/install-record.txt --single-version-externally-managed --compile --install-headers /home/shreyas/testsbpy/include/site/python3.7/synphot:\r\n    ERROR: running install\r\n    running build\r\n    running build_py\r\n    creating build\r\n    creating build/lib.linux-x86_64-3.7\r\n    creating build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/version.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/utils.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/units.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/thermal.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/spectrum.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/specio.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/setup_package.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/reddening.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/observation.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/models.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/exceptions.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/docstrings.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/cython_version.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/conftest.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/config.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/compat.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/binning.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/_astropy_init.py -> build/lib.linux-x86_64-3.7/synphot\r\n    copying synphot/__init__.py -> build/lib.linux-x86_64-3.7/synphot\r\n    creating build/lib.linux-x86_64-3.7/synphot/tests\r\n    copying synphot/tests/test_utils.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n    copying synphot/tests/test_units.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n    copying synphot/tests/test_thermal.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n    copying synphot/tests/test_spectrum.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n    copying synphot/tests/test_specio.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n    copying synphot/tests/test_reddening.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n    copying synphot/tests/test_observation.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n    copying synphot/tests/test_models.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n    copying synphot/tests/test_integrator.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n    copying synphot/tests/test_binning.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n    copying synphot/tests/setup_package.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n    copying synphot/tests/__init__.py -> build/lib.linux-x86_64-3.7/synphot/tests\r\n    creating build/lib.linux-x86_64-3.7/synphot/extern\r\n    copying synphot/extern/six.py -> build/lib.linux-x86_64-3.7/synphot/extern\r\n    copying synphot/extern/__init__.py -> build/lib.linux-x86_64-3.7/synphot/extern\r\n    copying synphot/_compiler.c -> build/lib.linux-x86_64-3.7/synphot\r\n    creating build/lib.linux-x86_64-3.7/synphot/src\r\n    copying synphot/src/synphot_utils.c -> build/lib.linux-x86_64-3.7/synphot/src\r\n    copying synphot/src/docstrings.c -> build/lib.linux-x86_64-3.7/synphot/src\r\n    copying synphot/tests/coveragerc -> build/lib.linux-x86_64-3.7/synphot/tests\r\n    creating build/lib.linux-x86_64-3.7/synphot/tests/data\r\n    copying synphot/tests/data/wfc3_ir_g141_src_003_th.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n    copying synphot/tests/data/us7.txt -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n    copying synphot/tests/data/stis_fuv_f25ndq2_mjd58300_0822774.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n    copying synphot/tests/data/stis_fuv_f25ndq2_binset.bin -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n    copying synphot/tests/data/qso_template_001.dat -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n    copying synphot/tests/data/milkyway_diffuse_001.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n    copying synphot/tests/data/k93_4500_0_5_rn_box.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n    copying synphot/tests/data/hst_acs_hrc_f850lp.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n    copying synphot/tests/data/hst_acs_hrc_f555w_x_grw70d5824.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n    copying synphot/tests/data/hst_acs_hrc_f555w.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n    copying synphot/tests/data/grw_70d5824_stisnic_005.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n    copying synphot/tests/data/cos_fuv_g130m_c1309_psa.fits -> build/lib.linux-x86_64-3.7/synphot/tests/data\r\n    running build_ext\r\n    building 'synphot._compiler' extension\r\n    creating build/temp.linux-x86_64-3.7\r\n    creating build/temp.linux-x86_64-3.7/synphot\r\n    gcc -pthread -B /home/shreyas/Softwares/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/shreyas/Softwares/anaconda3/include/python3.7m -c synphot/_compiler.c -o build/temp.linux-x86_64-3.7/synphot/_compiler.o\r\n    gcc -pthread -shared -B /home/shreyas/Softwares/anaconda3/compiler_compat -L/home/shreyas/Softwares/anaconda3/lib -Wl,-rpath=/home/shreyas/Softwares/anaconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/synphot/_compiler.o -o build/lib.linux-x86_64-3.7/synphot/_compiler.cpython-37m-x86_64-linux-gnu.so\r\n    /home/shreyas/Softwares/anaconda3/compiler_compat/ld: build/temp.linux-x86_64-3.7/synphot/_compiler.o: unable to initialize decompress status for section .debug_info\r\n    /home/shreyas/Softwares/anaconda3/compiler_compat/ld: build/temp.linux-x86_64-3.7/synphot/_compiler.o: unable to initialize decompress status for section .debug_info\r\n    /home/shreyas/Softwares/anaconda3/compiler_compat/ld: build/temp.linux-x86_64-3.7/synphot/_compiler.o: unable to initialize decompress status for section .debug_info\r\n    /home/shreyas/Softwares/anaconda3/compiler_compat/ld: build/temp.linux-x86_64-3.7/synphot/_compiler.o: unable to initialize decompress status for section .debug_info\r\n    build/temp.linux-x86_64-3.7/synphot/_compiler.o: file not recognized: file format not recognized\r\n    collect2: error: ld returned 1 exit status\r\n    error: command 'gcc' failed with exit status 1\r\n    ----------------------------------------\r\nERROR: Command \"/home/shreyas/testsbpy/bin/python -u -c 'import setuptools, tokenize;__file__='\"'\"'/tmp/pip-install-53bkzum7/synphot/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-__s7s62c/install-record.txt --single-version-externally-managed --compile --install-headers /home/shreyas/testsbpy/include/site/python3.7/synphot\" failed with error code 1 in /tmp/pip-install-53bkzum7/synphot/\r\n```"}}
other: {"actor":{"display_login":"shreyasbapat"}}