2023-09-10T18:41:42,694 Created temporary directory: /tmp/pip-build-tracker-8q7z44j9 2023-09-10T18:41:42,695 Initialized build tracking at /tmp/pip-build-tracker-8q7z44j9 2023-09-10T18:41:42,696 Created build tracker: /tmp/pip-build-tracker-8q7z44j9 2023-09-10T18:41:42,696 Entered build tracker: /tmp/pip-build-tracker-8q7z44j9 2023-09-10T18:41:42,697 Created temporary directory: /tmp/pip-wheel-f8s36k2x 2023-09-10T18:41:42,700 Created temporary directory: /tmp/pip-ephem-wheel-cache-buwr8wly 2023-09-10T18:41:42,722 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-10T18:41:42,725 2 location(s) to search for versions of n2-tools: 2023-09-10T18:41:42,725 * https://pypi.org/simple/n2-tools/ 2023-09-10T18:41:42,725 * https://www.piwheels.org/simple/n2-tools/ 2023-09-10T18:41:42,726 Fetching project page and analyzing links: https://pypi.org/simple/n2-tools/ 2023-09-10T18:41:42,727 Getting page https://pypi.org/simple/n2-tools/ 2023-09-10T18:41:42,728 Found index url https://pypi.org/simple/ 2023-09-10T18:41:42,871 Fetched page https://pypi.org/simple/n2-tools/ as application/vnd.pypi.simple.v1+json 2023-09-10T18:41:42,875 Found link https://files.pythonhosted.org/packages/b3/04/92f42ced9b215c412189b174d6c1a1fcb2341c109070f61313b1a73acfe8/n2-tools-0.0.1.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.1 2023-09-10T18:41:42,876 Found link https://files.pythonhosted.org/packages/9d/47/873b82bae9e2e3824faf981a8ceb17c80a16155b35b784473e95853380d5/n2-tools-0.0.2.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.2 2023-09-10T18:41:42,877 Found link https://files.pythonhosted.org/packages/fb/9a/1f8549b1a3ba5b132e127324c808415ad9c40c8770f4038a5b33a1202283/n2-tools-0.0.3.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.3 2023-09-10T18:41:42,878 Found link https://files.pythonhosted.org/packages/f1/09/3fe161b5e09d78fc87e042d1f31a4b42d4d3a10160b844e4c362f83667d9/n2-tools-0.0.4.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.4 2023-09-10T18:41:42,878 Found link https://files.pythonhosted.org/packages/b4/a3/89f8c17b921e9a13361a4652eb793677fc81faed4846c0cc2a8b0cf4e704/n2-tools-0.0.7.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.7 2023-09-10T18:41:42,879 Found link https://files.pythonhosted.org/packages/d5/da/b60b8007f7b2b58be4ab9f845e505e6c4bf8b17d06dc37fe24ee914f707d/n2-tools-0.0.8.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.8 2023-09-10T18:41:42,880 Found link https://files.pythonhosted.org/packages/20/78/eae31f20ecb015f67c7ab564905a46f256e10156e7bb8100b7aa07f7d57c/n2-tools-0.0.10.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.10 2023-09-10T18:41:42,880 Found link https://files.pythonhosted.org/packages/40/d2/86de53d18736d630d9c8608c3457000a7d059c67c649f932ae744959fb05/n2-tools-0.0.11.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.11 2023-09-10T18:41:42,881 Found link https://files.pythonhosted.org/packages/a5/0d/74203d50308700aa4ea40486c25226381ab62fc4a20888b07909cef14f90/n2-tools-0.0.13.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.13 2023-09-10T18:41:42,882 Found link https://files.pythonhosted.org/packages/28/f7/f03e25e239cef1db512e7fe135ddb2f6765134170fbb6b773278e5b5c2f4/n2-tools-0.0.14.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.14 2023-09-10T18:41:42,882 Found link https://files.pythonhosted.org/packages/d2/f0/a39b624b05de0723720385fd5bfc76381c3eb43ab594c19158f527032da4/n2-tools-0.0.15.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.15 2023-09-10T18:41:42,883 Found link https://files.pythonhosted.org/packages/82/62/e3c84ee3ccb8c75206807232bcc1afe64901c4c2bce1aee4f61d498c9292/n2-tools-0.0.16.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.16 2023-09-10T18:41:42,884 Found link https://files.pythonhosted.org/packages/14/f3/b2ba785c5400580de766522a48afb9581e3df15feff9aaba24f214410db6/n2-tools-0.0.18.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.18 2023-09-10T18:41:42,885 Found link https://files.pythonhosted.org/packages/ee/a2/b56304759a45f9720e5f3bfc567292782eeb054ebdc9840a80407e9e2980/n2-tools-0.0.20.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.20 2023-09-10T18:41:42,885 Found link https://files.pythonhosted.org/packages/7f/b2/a945ed3bb5532a10ea5d78afba438dc607e50beb093e9757b73bc43f0ab4/n2-tools-0.0.21.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.21 2023-09-10T18:41:42,886 Found link https://files.pythonhosted.org/packages/39/db/14274369f6d84637ec71add9ce560bcc113439d1ab8331859bd6c833bca2/n2-tools-0.0.22.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.22 2023-09-10T18:41:42,887 Found link https://files.pythonhosted.org/packages/74/54/4d8cbcd75448d3ea9e7fbdff404075fffb459aded6fb4784ce6a47ec4350/n2-tools-0.0.23.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.23 2023-09-10T18:41:42,887 Found link https://files.pythonhosted.org/packages/1f/7d/ead9e6d67d0d19840d5b9212e416e82fcd0728dde2d9a0334d1cc53be2ae/n2-tools-0.0.24.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.24 2023-09-10T18:41:42,888 Found link https://files.pythonhosted.org/packages/c6/0a/0e13a1d40d96b5e1e10d82185c6b88bd00a4bd93249f2d7e00b25bb2e5b0/n2-tools-0.0.25.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.25 2023-09-10T18:41:42,888 Found link https://files.pythonhosted.org/packages/76/aa/5c207fe63f7a416635ff6c6018790e656fbfeb536c9671f3e8150ad85e2b/n2-tools-0.0.26.tar.gz (from https://pypi.org/simple/n2-tools/), version: 0.0.26 2023-09-10T18:41:42,889 Fetching project page and analyzing links: https://www.piwheels.org/simple/n2-tools/ 2023-09-10T18:41:42,889 Getting page https://www.piwheels.org/simple/n2-tools/ 2023-09-10T18:41:42,891 Found index url https://www.piwheels.org/simple/ 2023-09-10T18:41:43,144 Fetched page https://www.piwheels.org/simple/n2-tools/ as text/html 2023-09-10T18:41:43,146 Skipping link: No binaries permitted for n2-tools: https://www.piwheels.org/simple/n2-tools/n2_tools-0.0.10-py3-none-any.whl#sha256=f06a0af1637af7843084a92702ac30be1ee74d953c5af0560643a24e83b15bd3 (from https://www.piwheels.org/simple/n2-tools/) 2023-09-10T18:41:43,146 Skipping link: No binaries permitted for n2-tools: https://www.piwheels.org/simple/n2-tools/n2_tools-0.0.4-py3-none-any.whl#sha256=4e375f33ce562539d7ed20909bb06bd103d6f2cb9efcbaade78c966e5c25cf07 (from https://www.piwheels.org/simple/n2-tools/) 2023-09-10T18:41:43,147 Skipping link: No binaries permitted for n2-tools: https://www.piwheels.org/simple/n2-tools/n2_tools-0.0.7-py3-none-any.whl#sha256=9e3d3b1e2a256c2f2508a2fe1b0321e69d754350cac47e2eeb65aca51b591792 (from https://www.piwheels.org/simple/n2-tools/) 2023-09-10T18:41:43,147 Skipping link: not a file: https://www.piwheels.org/simple/n2-tools/ 2023-09-10T18:41:43,148 Skipping link: not a file: https://pypi.org/simple/n2-tools/ 2023-09-10T18:41:43,169 Given no hashes to check 1 links for project 'n2-tools': discarding no candidates 2023-09-10T18:41:43,187 Collecting n2-tools==0.0.15 2023-09-10T18:41:43,190 Created temporary directory: /tmp/pip-unpack-t5ogu5yo 2023-09-10T18:41:43,792 Downloading n2-tools-0.0.15.tar.gz (12 kB) 2023-09-10T18:41:43,841 Added n2-tools==0.0.15 from https://files.pythonhosted.org/packages/d2/f0/a39b624b05de0723720385fd5bfc76381c3eb43ab594c19158f527032da4/n2-tools-0.0.15.tar.gz to build tracker '/tmp/pip-build-tracker-8q7z44j9' 2023-09-10T18:41:43,842 Running setup.py (path:/tmp/pip-wheel-f8s36k2x/n2-tools_f341d16254a643c596a816344c5a59a1/setup.py) egg_info for package n2-tools 2023-09-10T18:41:43,843 Created temporary directory: /tmp/pip-pip-egg-info-ceb78fix 2023-09-10T18:41:43,844 Preparing metadata (setup.py): started 2023-09-10T18:41:43,845 Running command python setup.py egg_info 2023-09-10T18:41:44,320 Traceback (most recent call last): 2023-09-10T18:41:44,321 File "", line 2, in 2023-09-10T18:41:44,321 File "", line 34, in 2023-09-10T18:41:44,322 File "/tmp/pip-wheel-f8s36k2x/n2-tools_f341d16254a643c596a816344c5a59a1/setup.py", line 7, in 2023-09-10T18:41:44,323 version = __import__('n2').__version__, 2023-09-10T18:41:44,323 ^^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,324 File "/tmp/pip-wheel-f8s36k2x/n2-tools_f341d16254a643c596a816344c5a59a1/n2/__init__.py", line 4, in 2023-09-10T18:41:44,325 from .data import * 2023-09-10T18:41:44,325 File "/tmp/pip-wheel-f8s36k2x/n2-tools_f341d16254a643c596a816344c5a59a1/n2/data/__init__.py", line 2, in 2023-09-10T18:41:44,326 from .fitsimage import * 2023-09-10T18:41:44,327 File "/tmp/pip-wheel-f8s36k2x/n2-tools_f341d16254a643c596a816344c5a59a1/n2/data/fitsimage.py", line 3, in 2023-09-10T18:41:44,328 import n2.core 2023-09-10T18:41:44,328 File "/tmp/pip-wheel-f8s36k2x/n2-tools_f341d16254a643c596a816344c5a59a1/n2/core/__init__.py", line 2, in 2023-09-10T18:41:44,329 from .cutout import * 2023-09-10T18:41:44,330 File "/tmp/pip-wheel-f8s36k2x/n2-tools_f341d16254a643c596a816344c5a59a1/n2/core/cutout.py", line 5, in 2023-09-10T18:41:44,330 import astropy.io.fits 2023-09-10T18:41:44,331 ModuleNotFoundError: No module named 'astropy' 2023-09-10T18:41:44,394 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-09-10T18:41:44,407 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-09-10T18:41:44,407 exec(compile('"'"''"'"''"'"' 2023-09-10T18:41:44,407 # This is -- a caller that pip uses to run setup.py 2023-09-10T18:41:44,407 # 2023-09-10T18:41:44,407 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-10T18:41:44,407 # import from `distutils.core` to work with newer packaging standards. 2023-09-10T18:41:44,407 # - It provides a clear error message when setuptools is not installed. 2023-09-10T18:41:44,407 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-10T18:41:44,407 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-10T18:41:44,407 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-10T18:41:44,407 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-10T18:41:44,407 import os, sys, tokenize 2023-09-10T18:41:44,407 2023-09-10T18:41:44,407 try: 2023-09-10T18:41:44,407 import setuptools 2023-09-10T18:41:44,407 except ImportError as error: 2023-09-10T18:41:44,407 print( 2023-09-10T18:41:44,407 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-10T18:41:44,407 "the build environment.", 2023-09-10T18:41:44,407 file=sys.stderr, 2023-09-10T18:41:44,407 ) 2023-09-10T18:41:44,407 sys.exit(1) 2023-09-10T18:41:44,407 2023-09-10T18:41:44,407 __file__ = %r 2023-09-10T18:41:44,407 sys.argv[0] = __file__ 2023-09-10T18:41:44,407 2023-09-10T18:41:44,407 if os.path.exists(__file__): 2023-09-10T18:41:44,407 filename = __file__ 2023-09-10T18:41:44,407 with tokenize.open(__file__) as f: 2023-09-10T18:41:44,407 setup_py_code = f.read() 2023-09-10T18:41:44,407 else: 2023-09-10T18:41:44,407 filename = "" 2023-09-10T18:41:44,407 setup_py_code = "from setuptools import setup; setup()" 2023-09-10T18:41:44,407 2023-09-10T18:41:44,407 exec(compile(setup_py_code, filename, "exec")) 2023-09-10T18:41:44,407 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-f8s36k2x/n2-tools_f341d16254a643c596a816344c5a59a1/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-ceb78fix[/] 2023-09-10T18:41:44,408 [bold magenta]cwd[/]: /tmp/pip-wheel-f8s36k2x/n2-tools_f341d16254a643c596a816344c5a59a1/ 2023-09-10T18:41:44,409 Preparing metadata (setup.py): finished with status 'error' 2023-09-10T18:41:44,410 ERROR: [present-rich] metadata generation failed 2023-09-10T18:41:44,416 Exception information: 2023-09-10T18:41:44,416 Traceback (most recent call last): 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2023-09-10T18:41:44,416 call_subprocess( 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-09-10T18:41:44,416 raise error 2023-09-10T18:41:44,416 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-09-10T18:41:44,416 2023-09-10T18:41:44,416 The above exception was the direct cause of the following exception: 2023-09-10T18:41:44,416 2023-09-10T18:41:44,416 Traceback (most recent call last): 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-10T18:41:44,416 status = run_func(*args) 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-10T18:41:44,416 return func(self, options, args) 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-09-10T18:41:44,416 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve 2023-09-10T18:41:44,416 result = self._result = resolver.resolve( 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-09-10T18:41:44,416 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-09-10T18:41:44,416 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-09-10T18:41:44,416 if not criterion.candidates: 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-09-10T18:41:44,416 return bool(self._sequence) 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-09-10T18:41:44,416 return any(self) 2023-09-10T18:41:44,416 ^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-09-10T18:41:44,416 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-09-10T18:41:44,416 candidate = func() 2023-09-10T18:41:44,416 ^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link 2023-09-10T18:41:44,416 self._link_candidate_cache[link] = LinkCandidate( 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-09-10T18:41:44,416 super().__init__( 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-09-10T18:41:44,416 self.dist = self._prepare() 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-09-10T18:41:44,416 dist = self._prepare_distribution() 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-09-10T18:41:44,416 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement 2023-09-10T18:41:44,416 return self._prepare_linked_requirement(req, parallel_builds) 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 653, in _prepare_linked_requirement 2023-09-10T18:41:44,416 dist = _get_prepared_distribution( 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution 2023-09-10T18:41:44,416 abstract_dist.prepare_distribution_metadata( 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-09-10T18:41:44,416 self.req.prepare_metadata() 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/req/req_install.py", line 568, in prepare_metadata 2023-09-10T18:41:44,416 self.metadata_directory = generate_metadata_legacy( 2023-09-10T18:41:44,416 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T18:41:44,416 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-09-10T18:41:44,416 raise MetadataGenerationFailed(package_details=details) from error 2023-09-10T18:41:44,416 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-09-10T18:41:44,428 Removed n2-tools==0.0.15 from https://files.pythonhosted.org/packages/d2/f0/a39b624b05de0723720385fd5bfc76381c3eb43ab594c19158f527032da4/n2-tools-0.0.15.tar.gz from build tracker '/tmp/pip-build-tracker-8q7z44j9' 2023-09-10T18:41:44,429 Removed build tracker: '/tmp/pip-build-tracker-8q7z44j9'