2025-09-08T10:08:47,336 Created temporary directory: /tmp/pip-build-tracker-suh5i7nw 2025-09-08T10:08:47,337 Initialized build tracking at /tmp/pip-build-tracker-suh5i7nw 2025-09-08T10:08:47,337 Created build tracker: /tmp/pip-build-tracker-suh5i7nw 2025-09-08T10:08:47,337 Entered build tracker: /tmp/pip-build-tracker-suh5i7nw 2025-09-08T10:08:47,337 Created temporary directory: /tmp/pip-wheel-i74etms7 2025-09-08T10:08:47,340 Created temporary directory: /tmp/pip-ephem-wheel-cache-jgazno7k 2025-09-08T10:08:47,398 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-08T10:08:47,401 2 location(s) to search for versions of python-restcountries: 2025-09-08T10:08:47,401 * https://pypi.org/simple/python-restcountries/ 2025-09-08T10:08:47,401 * https://www.piwheels.org/simple/python-restcountries/ 2025-09-08T10:08:47,401 Fetching project page and analyzing links: https://pypi.org/simple/python-restcountries/ 2025-09-08T10:08:47,401 Getting page https://pypi.org/simple/python-restcountries/ 2025-09-08T10:08:47,402 Found index url https://pypi.org/simple/ 2025-09-08T10:08:47,547 Fetched page https://pypi.org/simple/python-restcountries/ as application/vnd.pypi.simple.v1+json 2025-09-08T10:08:47,552 Found link https://files.pythonhosted.org/packages/37/5b/9cfde9d3c8727825b16339f4e168970e62cee5e3cef826943d6a7f4facf2/python-restcountries-0.1a0.tar.gz (from https://pypi.org/simple/python-restcountries/), version: 0.1a0 2025-09-08T10:08:47,552 Found link https://files.pythonhosted.org/packages/4c/f3/fc8b452a321db238313cd7a27f009f9eb57ef0b01dba61690e069b65d666/python-restcountries-0.1a1.tar.gz (from https://pypi.org/simple/python-restcountries/), version: 0.1a1 2025-09-08T10:08:47,553 Found link https://files.pythonhosted.org/packages/b2/a0/47ca4563ff23d145b3c37be78162768a0ad7b50fdd7c62925ffb4018ef6e/python-restcountries-0.1a2.tar.gz (from https://pypi.org/simple/python-restcountries/), version: 0.1a2 2025-09-08T10:08:47,553 Found link https://files.pythonhosted.org/packages/47/81/39708651a6ed7dc591a326621c83d4daa0098050a20ccbdaef91ce65a538/python-restcountries-0.1a3.tar.gz (from https://pypi.org/simple/python-restcountries/), version: 0.1a3 2025-09-08T10:08:47,554 Found link https://files.pythonhosted.org/packages/bc/41/adf8fde3b5157ee21548476670dd40caf3747a647d7625b6784111f7c3dc/python-restcountries-0.1b1.tar.gz (from https://pypi.org/simple/python-restcountries/), version: 0.1b1 2025-09-08T10:08:47,555 Found link https://files.pythonhosted.org/packages/79/d6/11103c3f207e0cf2fef560b0c47aff159465c997f2555b3075bfb26cfa0c/python-restcountries-0.1b2.tar.gz (from https://pypi.org/simple/python-restcountries/), version: 0.1b2 2025-09-08T10:08:47,555 Found link https://files.pythonhosted.org/packages/7f/be/507a7ef436ce2f630a772d2873a70e218edf84926b2dce5d4992bb33dce2/python-restcountries-0.2.tar.gz (from https://pypi.org/simple/python-restcountries/), version: 0.2 2025-09-08T10:08:47,556 Found link https://files.pythonhosted.org/packages/a0/a0/27f100f590df8a36dc789e703df8ec07098722eb0fa296b71e3ec4604b96/python-restcountries-0.3.tar.gz (from https://pypi.org/simple/python-restcountries/), version: 0.3 2025-09-08T10:08:47,556 Skipping link: No binaries permitted for python-restcountries: https://files.pythonhosted.org/packages/1a/80/688ffe82ec7a23f37d7314f74351113d8c3b4d6136ec06bbc1bc41cc540b/python_restcountries-0.3-py3-none-any.whl (from https://pypi.org/simple/python-restcountries/) 2025-09-08T10:08:47,557 Found link https://files.pythonhosted.org/packages/58/3c/629cc019149e13ccdf65d552d6c4ff3d8dd2d5f2bb26f391195703b40545/python-restcountries-1.0.0.tar.gz (from https://pypi.org/simple/python-restcountries/), version: 1.0.0 2025-09-08T10:08:47,557 Skipping link: No binaries permitted for python-restcountries: https://files.pythonhosted.org/packages/3e/21/f9bc0a4e3f38e84cce3a2934d3fff20cde8085ea4ab97cb2ec54b9c7b46e/python_restcountries-1.0.0-py3-none-any.whl (from https://pypi.org/simple/python-restcountries/) 2025-09-08T10:08:47,558 Found link https://files.pythonhosted.org/packages/96/e8/fffe03db10b01fe3861678f9414db8811819551b707947448825fbf507c0/python-restcountries-2.0.0.tar.gz (from https://pypi.org/simple/python-restcountries/), version: 2.0.0 2025-09-08T10:08:47,558 Skipping link: No binaries permitted for python-restcountries: https://files.pythonhosted.org/packages/0e/fd/c231f398988cedd32d8ec42a1f23dc4f25fb4623a9c74c538c27789388dd/python_restcountries-2.0.0-py3-none-any.whl (from https://pypi.org/simple/python-restcountries/) 2025-09-08T10:08:47,559 Fetching project page and analyzing links: https://www.piwheels.org/simple/python-restcountries/ 2025-09-08T10:08:47,560 Getting page https://www.piwheels.org/simple/python-restcountries/ 2025-09-08T10:08:47,562 Found index url https://www.piwheels.org/simple/ 2025-09-08T10:08:47,686 Fetched page https://www.piwheels.org/simple/python-restcountries/ as text/html 2025-09-08T10:08:47,689 Skipping link: No binaries permitted for python-restcountries: https://archive1.piwheels.org/simple/python-restcountries/python_restcountries-2.0.0-py3-none-any.whl#sha256=15f8efcf086b9da00824baf004286dd8a2e8fbc823fc82094be8f7cbe18167e9 (from https://www.piwheels.org/simple/python-restcountries/) 2025-09-08T10:08:47,689 Skipping link: No binaries permitted for python-restcountries: https://archive1.piwheels.org/simple/python-restcountries/python_restcountries-1.0.0-py3-none-any.whl#sha256=9c5dc2c86f88834e6e1f51ad0b26ca30e2117af9f9676748f12365076757b5d0 (from https://www.piwheels.org/simple/python-restcountries/) 2025-09-08T10:08:47,689 Skipping link: No binaries permitted for python-restcountries: https://archive1.piwheels.org/simple/python-restcountries/python_restcountries-0.3-py3-none-any.whl#sha256=3c82515e22dbaf42cb895632cdffaba98a645d9b606762f2131c0179b0047148 (from https://www.piwheels.org/simple/python-restcountries/) 2025-09-08T10:08:47,689 Skipping link: No binaries permitted for python-restcountries: https://archive1.piwheels.org/simple/python-restcountries/python_restcountries-0.2-py3-none-any.whl#sha256=10ba9e5d27667d02948f26f3c4c97359f5c4c371bb749e86412515957abc81ac (from https://www.piwheels.org/simple/python-restcountries/) 2025-09-08T10:08:47,689 Skipping link: No binaries permitted for python-restcountries: https://archive1.piwheels.org/simple/python-restcountries/python_restcountries-0.1b2-py3-none-any.whl#sha256=46a8b88b7b6c5c9056adb37a016e9a45a50c5a244b9382fa1b86581764b7f743 (from https://www.piwheels.org/simple/python-restcountries/) 2025-09-08T10:08:47,689 Skipping link: No binaries permitted for python-restcountries: https://archive1.piwheels.org/simple/python-restcountries/python_restcountries-0.1a3-py3-none-any.whl#sha256=715051ef156258dbd4b219ef0b4d264fe09971171330df633a1a95420c0961a0 (from https://www.piwheels.org/simple/python-restcountries/) 2025-09-08T10:08:47,689 Skipping link: No binaries permitted for python-restcountries: https://archive1.piwheels.org/simple/python-restcountries/python_restcountries-0.1a2-py3-none-any.whl#sha256=43b1cf27c0c97b38496287c88d11c86b28a62b6471b26f754935a7b8899143b3 (from https://www.piwheels.org/simple/python-restcountries/) 2025-09-08T10:08:47,689 Skipping link: No binaries permitted for python-restcountries: https://archive1.piwheels.org/simple/python-restcountries/python_restcountries-0.1a1-py3-none-any.whl#sha256=605e23426fd7f5d40efb3f51961b1ce591668a1cb995f1d575e20de81e4cc4c1 (from https://www.piwheels.org/simple/python-restcountries/) 2025-09-08T10:08:47,690 Skipping link: No binaries permitted for python-restcountries: https://archive1.piwheels.org/simple/python-restcountries/python_restcountries-0.1a0-py3-none-any.whl#sha256=8c7c2c21ddcc30a675387afd4cf16abe2856193987ae4c39cc0c0693fdedfb57 (from https://www.piwheels.org/simple/python-restcountries/) 2025-09-08T10:08:47,690 Skipping link: not a file: https://www.piwheels.org/simple/python-restcountries/ 2025-09-08T10:08:47,690 Skipping link: not a file: https://pypi.org/simple/python-restcountries/ 2025-09-08T10:08:47,716 Given no hashes to check 1 links for project 'python-restcountries': discarding no candidates 2025-09-08T10:08:47,717 Collecting python-restcountries==0.1b1 2025-09-08T10:08:47,718 Created temporary directory: /tmp/pip-unpack-vgm6tesg 2025-09-08T10:08:48,071 Downloading python-restcountries-0.1b1.tar.gz (3.0 kB) 2025-09-08T10:08:48,090 Added python-restcountries==0.1b1 from https://files.pythonhosted.org/packages/bc/41/adf8fde3b5157ee21548476670dd40caf3747a647d7625b6784111f7c3dc/python-restcountries-0.1b1.tar.gz to build tracker '/tmp/pip-build-tracker-suh5i7nw' 2025-09-08T10:08:48,091 Running setup.py (path:/tmp/pip-wheel-i74etms7/python-restcountries_eef3e43c263143ba8a5777ed07751756/setup.py) egg_info for package python-restcountries 2025-09-08T10:08:48,092 Created temporary directory: /tmp/pip-pip-egg-info-e9blnl1u 2025-09-08T10:08:48,092 Preparing metadata (setup.py): started 2025-09-08T10:08:48,093 Running command python setup.py egg_info 2025-09-08T10:08:48,608 Traceback (most recent call last): 2025-09-08T10:08:48,609 File "", line 2, in 2025-09-08T10:08:48,609 exec(compile(''' 2025-09-08T10:08:48,609 ~~~~^^^^^^^^^^^^ 2025-09-08T10:08:48,610 # This is -- a caller that pip uses to run setup.py 2025-09-08T10:08:48,610 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,610 ...<32 lines>... 2025-09-08T10:08:48,610 exec(compile(setup_py_code, filename, "exec")) 2025-09-08T10:08:48,610 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,610 ''' % ('/tmp/pip-wheel-i74etms7/python-restcountries_eef3e43c263143ba8a5777ed07751756/setup.py',), "", "exec")) 2025-09-08T10:08:48,610 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,611 File "", line 35, in 2025-09-08T10:08:48,611 File "/tmp/pip-wheel-i74etms7/python-restcountries_eef3e43c263143ba8a5777ed07751756/setup.py", line 5, in 2025-09-08T10:08:48,611 from restcountries import __version__ 2025-09-08T10:08:48,611 File "/tmp/pip-wheel-i74etms7/python-restcountries_eef3e43c263143ba8a5777ed07751756/restcountries/__init__.py", line 3, in 2025-09-08T10:08:48,611 from base import RestCountryApi 2025-09-08T10:08:48,611 ModuleNotFoundError: No module named 'base' 2025-09-08T10:08:48,694 ERROR: python setup.py egg_info exited with 1 2025-09-08T10:08:48,706 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2025-09-08T10:08:48,706 exec(compile('"'"''"'"''"'"' 2025-09-08T10:08:48,706 # This is -- a caller that pip uses to run setup.py 2025-09-08T10:08:48,706 # 2025-09-08T10:08:48,706 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-08T10:08:48,706 # import from `distutils.core` to work with newer packaging standards. 2025-09-08T10:08:48,706 # - It provides a clear error message when setuptools is not installed. 2025-09-08T10:08:48,706 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-08T10:08:48,706 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-08T10:08:48,706 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-08T10:08:48,706 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-08T10:08:48,706 import os, sys, tokenize, traceback 2025-09-08T10:08:48,706 2025-09-08T10:08:48,706 try: 2025-09-08T10:08:48,706 import setuptools 2025-09-08T10:08:48,706 except ImportError: 2025-09-08T10:08:48,706 print( 2025-09-08T10:08:48,706 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-08T10:08:48,706 "the build environment with exception:", 2025-09-08T10:08:48,706 file=sys.stderr, 2025-09-08T10:08:48,706 ) 2025-09-08T10:08:48,706 traceback.print_exc() 2025-09-08T10:08:48,706 sys.exit(1) 2025-09-08T10:08:48,706 2025-09-08T10:08:48,706 __file__ = %r 2025-09-08T10:08:48,706 sys.argv[0] = __file__ 2025-09-08T10:08:48,706 2025-09-08T10:08:48,706 if os.path.exists(__file__): 2025-09-08T10:08:48,706 filename = __file__ 2025-09-08T10:08:48,706 with tokenize.open(__file__) as f: 2025-09-08T10:08:48,706 setup_py_code = f.read() 2025-09-08T10:08:48,706 else: 2025-09-08T10:08:48,706 filename = "" 2025-09-08T10:08:48,706 setup_py_code = "from setuptools import setup; setup()" 2025-09-08T10:08:48,706 2025-09-08T10:08:48,706 exec(compile(setup_py_code, filename, "exec")) 2025-09-08T10:08:48,706 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-i74etms7/python-restcountries_eef3e43c263143ba8a5777ed07751756/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-e9blnl1u[/] 2025-09-08T10:08:48,706 [bold magenta]cwd[/]: /tmp/pip-wheel-i74etms7/python-restcountries_eef3e43c263143ba8a5777ed07751756/ 2025-09-08T10:08:48,707 Preparing metadata (setup.py): finished with status 'error' 2025-09-08T10:08:48,708 ERROR: metadata generation failed 2025-09-08T10:08:48,713 Exception information: 2025-09-08T10:08:48,713 Traceback (most recent call last): 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 63, in generate_metadata 2025-09-08T10:08:48,713 call_subprocess( 2025-09-08T10:08:48,713 ~~~~~~~~~~~~~~~^ 2025-09-08T10:08:48,713 args, 2025-09-08T10:08:48,713 ^^^^^ 2025-09-08T10:08:48,713 ...<2 lines>... 2025-09-08T10:08:48,713 spinner=spinner, 2025-09-08T10:08:48,713 ^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,713 ) 2025-09-08T10:08:48,713 ^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess 2025-09-08T10:08:48,713 raise error 2025-09-08T10:08:48,713 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2025-09-08T10:08:48,713 2025-09-08T10:08:48,713 The above exception was the direct cause of the following exception: 2025-09-08T10:08:48,713 2025-09-08T10:08:48,713 Traceback (most recent call last): 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-08T10:08:48,713 status = _inner_run() 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-08T10:08:48,713 return self.run(options, args) 2025-09-08T10:08:48,713 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-08T10:08:48,713 return func(self, options, args) 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2025-09-08T10:08:48,713 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve 2025-09-08T10:08:48,713 result = self._result = resolver.resolve( 2025-09-08T10:08:48,713 ~~~~~~~~~~~~~~~~^ 2025-09-08T10:08:48,713 collected.requirements, max_rounds=limit_how_complex_resolution_can_be 2025-09-08T10:08:48,713 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,713 ) 2025-09-08T10:08:48,713 ^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve 2025-09-08T10:08:48,713 state = resolution.resolve(requirements, max_rounds=max_rounds) 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve 2025-09-08T10:08:48,713 self._add_to_criteria(self.state.criteria, r, parent=None) 2025-09-08T10:08:48,713 ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria 2025-09-08T10:08:48,713 if not criterion.candidates: 2025-09-08T10:08:48,713 ^^^^^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__ 2025-09-08T10:08:48,713 return bool(self._sequence) 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__ 2025-09-08T10:08:48,713 self._bool = any(self) 2025-09-08T10:08:48,713 ~~~^^^^^^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in 2025-09-08T10:08:48,713 return (c for c in iterator if id(c) not in self._incompatible_ids) 2025-09-08T10:08:48,713 ^^^^^^^^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built 2025-09-08T10:08:48,713 candidate = func() 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link 2025-09-08T10:08:48,713 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2025-09-08T10:08:48,713 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-08T10:08:48,713 link, template, name, version 2025-09-08T10:08:48,713 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,713 ) 2025-09-08T10:08:48,713 ^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link 2025-09-08T10:08:48,713 self._link_candidate_cache[link] = LinkCandidate( 2025-09-08T10:08:48,713 ~~~~~~~~~~~~~^ 2025-09-08T10:08:48,713 link, 2025-09-08T10:08:48,713 ^^^^^ 2025-09-08T10:08:48,713 ...<3 lines>... 2025-09-08T10:08:48,713 version=version, 2025-09-08T10:08:48,713 ^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,713 ) 2025-09-08T10:08:48,713 ^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__ 2025-09-08T10:08:48,713 super().__init__( 2025-09-08T10:08:48,713 ~~~~~~~~~~~~~~~~^ 2025-09-08T10:08:48,713 link=link, 2025-09-08T10:08:48,713 ^^^^^^^^^^ 2025-09-08T10:08:48,713 ...<4 lines>... 2025-09-08T10:08:48,713 version=version, 2025-09-08T10:08:48,713 ^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,713 ) 2025-09-08T10:08:48,713 ^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__ 2025-09-08T10:08:48,713 self.dist = self._prepare() 2025-09-08T10:08:48,713 ~~~~~~~~~~~~~^^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare 2025-09-08T10:08:48,713 dist = self._prepare_distribution() 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution 2025-09-08T10:08:48,713 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2025-09-08T10:08:48,713 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement 2025-09-08T10:08:48,713 return self._prepare_linked_requirement(req, parallel_builds) 2025-09-08T10:08:48,713 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement 2025-09-08T10:08:48,713 dist = _get_prepared_distribution( 2025-09-08T10:08:48,713 req, 2025-09-08T10:08:48,713 ...<3 lines>... 2025-09-08T10:08:48,713 self.check_build_deps, 2025-09-08T10:08:48,713 ) 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2025-09-08T10:08:48,713 abstract_dist.prepare_distribution_metadata( 2025-09-08T10:08:48,713 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-08T10:08:48,713 finder, build_isolation, check_build_deps 2025-09-08T10:08:48,713 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,713 ) 2025-09-08T10:08:48,713 ^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/distributions/sdist.py", line 69, in prepare_distribution_metadata 2025-09-08T10:08:48,713 self.req.prepare_metadata() 2025-09-08T10:08:48,713 ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 581, in prepare_metadata 2025-09-08T10:08:48,713 self.metadata_directory = generate_metadata_legacy( 2025-09-08T10:08:48,713 ~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-08T10:08:48,713 build_env=self.build_env, 2025-09-08T10:08:48,713 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,713 ...<3 lines>... 2025-09-08T10:08:48,713 details=details, 2025-09-08T10:08:48,713 ^^^^^^^^^^^^^^^^ 2025-09-08T10:08:48,713 ) 2025-09-08T10:08:48,713 ^ 2025-09-08T10:08:48,713 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 70, in generate_metadata 2025-09-08T10:08:48,713 raise MetadataGenerationFailed(package_details=details) from error 2025-09-08T10:08:48,713 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2025-09-08T10:08:48,737 Removed python-restcountries==0.1b1 from https://files.pythonhosted.org/packages/bc/41/adf8fde3b5157ee21548476670dd40caf3747a647d7625b6784111f7c3dc/python-restcountries-0.1b1.tar.gz from build tracker '/tmp/pip-build-tracker-suh5i7nw' 2025-09-08T10:08:48,737 Removed build tracker: '/tmp/pip-build-tracker-suh5i7nw'