2023-12-06T10:24:29,568 Created temporary directory: /tmp/pip-build-tracker-8uwdizfs 2023-12-06T10:24:29,569 Initialized build tracking at /tmp/pip-build-tracker-8uwdizfs 2023-12-06T10:24:29,570 Created build tracker: /tmp/pip-build-tracker-8uwdizfs 2023-12-06T10:24:29,570 Entered build tracker: /tmp/pip-build-tracker-8uwdizfs 2023-12-06T10:24:29,571 Created temporary directory: /tmp/pip-wheel-g3faq4k9 2023-12-06T10:24:29,574 Created temporary directory: /tmp/pip-ephem-wheel-cache-bfn2qvrj 2023-12-06T10:24:29,596 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-12-06T10:24:29,600 2 location(s) to search for versions of autodistill-grounded-sam: 2023-12-06T10:24:29,600 * https://pypi.org/simple/autodistill-grounded-sam/ 2023-12-06T10:24:29,600 * https://www.piwheels.org/simple/autodistill-grounded-sam/ 2023-12-06T10:24:29,600 Fetching project page and analyzing links: https://pypi.org/simple/autodistill-grounded-sam/ 2023-12-06T10:24:29,601 Getting page https://pypi.org/simple/autodistill-grounded-sam/ 2023-12-06T10:24:29,603 Found index url https://pypi.org/simple/ 2023-12-06T10:24:29,738 Fetched page https://pypi.org/simple/autodistill-grounded-sam/ as application/vnd.pypi.simple.v1+json 2023-12-06T10:24:29,741 Skipping link: No binaries permitted for autodistill-grounded-sam: https://files.pythonhosted.org/packages/75/c7/0b2a75fbedf2632ab0a8b1460751e5a55882e2f916ada49ba38be3c4e49a/autodistill_grounded_sam-0.0.5-py3-none-any.whl (from https://pypi.org/simple/autodistill-grounded-sam/) (requires-python:>=3.7) 2023-12-06T10:24:29,742 Found link https://files.pythonhosted.org/packages/54/51/7172e23d482366ff12c38a95de07eca6214ca0fbfd603a96a6e4e452406a/autodistill_grounded_sam-0.0.5.tar.gz (from https://pypi.org/simple/autodistill-grounded-sam/) (requires-python:>=3.7), version: 0.0.5 2023-12-06T10:24:29,742 Skipping link: No binaries permitted for autodistill-grounded-sam: https://files.pythonhosted.org/packages/75/6e/757f5af2f15298c3ac15e55bc061c9df441f9f0e30b93ef8efbadf2b969f/autodistill_grounded_sam-0.0.6-py3-none-any.whl (from https://pypi.org/simple/autodistill-grounded-sam/) (requires-python:>=3.7) 2023-12-06T10:24:29,743 Found link https://files.pythonhosted.org/packages/ca/2c/ac2e295e9738bb7f50cfbcd6def506ab919be74888d6d762126b3a47e6fd/autodistill_grounded_sam-0.0.6.tar.gz (from https://pypi.org/simple/autodistill-grounded-sam/) (requires-python:>=3.7), version: 0.0.6 2023-12-06T10:24:29,744 Skipping link: No binaries permitted for autodistill-grounded-sam: https://files.pythonhosted.org/packages/7c/87/b0ddf3dc50e8e85a32b4f573d2682f661ee79c8ba8c51a404d784763a8ed/autodistill_grounded_sam-0.0.7-py3-none-any.whl (from https://pypi.org/simple/autodistill-grounded-sam/) (requires-python:>=3.7) 2023-12-06T10:24:29,745 Found link https://files.pythonhosted.org/packages/09/0b/f77f76c68469d95145d1d25a771b0ce048635d641af44486d58269ac0737/autodistill_grounded_sam-0.0.7.tar.gz (from https://pypi.org/simple/autodistill-grounded-sam/) (requires-python:>=3.7), version: 0.0.7 2023-12-06T10:24:29,745 Skipping link: No binaries permitted for autodistill-grounded-sam: https://files.pythonhosted.org/packages/0f/55/ed651b0a626c7e202487d6dfd042a1e81a3d8af0c79a61bfd3fc7baa8e89/autodistill_grounded_sam-0.1.0-py3-none-any.whl (from https://pypi.org/simple/autodistill-grounded-sam/) (requires-python:>=3.7) 2023-12-06T10:24:29,746 Found link https://files.pythonhosted.org/packages/5c/81/b121d0195d0776beb32283de573dc4fbfb4886139bbca2c8ba12278134d9/autodistill_grounded_sam-0.1.0.tar.gz (from https://pypi.org/simple/autodistill-grounded-sam/) (requires-python:>=3.7), version: 0.1.0 2023-12-06T10:24:29,747 Skipping link: No binaries permitted for autodistill-grounded-sam: https://files.pythonhosted.org/packages/88/87/6ae11ba2bab7efb986f28d97e4e8cb06b5060b681f9f70e627dfe2177137/autodistill_grounded_sam-0.1.1-py3-none-any.whl (from https://pypi.org/simple/autodistill-grounded-sam/) (requires-python:>=3.7) 2023-12-06T10:24:29,748 Found link https://files.pythonhosted.org/packages/21/0e/2a5108855bce454dda04be94cf96c9254a04b850de2f4cf6015f31b2b3bc/autodistill_grounded_sam-0.1.1.tar.gz (from https://pypi.org/simple/autodistill-grounded-sam/) (requires-python:>=3.7), version: 0.1.1 2023-12-06T10:24:29,749 Skipping link: No binaries permitted for autodistill-grounded-sam: https://files.pythonhosted.org/packages/5d/d1/3b78e1e489c845add786b6b2ac3068b9811725ef59a443ee5609144190ef/autodistill_grounded_sam-0.1.2-py3-none-any.whl (from https://pypi.org/simple/autodistill-grounded-sam/) (requires-python:>=3.7) 2023-12-06T10:24:29,750 Found link https://files.pythonhosted.org/packages/9b/5f/221d0f7b60c17cbd272051e4fccd9aa085f131afbf17a18056cd02172ad9/autodistill_grounded_sam-0.1.2.tar.gz (from https://pypi.org/simple/autodistill-grounded-sam/) (requires-python:>=3.7), version: 0.1.2 2023-12-06T10:24:29,751 Fetching project page and analyzing links: https://www.piwheels.org/simple/autodistill-grounded-sam/ 2023-12-06T10:24:29,751 Getting page https://www.piwheels.org/simple/autodistill-grounded-sam/ 2023-12-06T10:24:29,752 Found index url https://www.piwheels.org/simple/ 2023-12-06T10:24:29,911 Fetched page https://www.piwheels.org/simple/autodistill-grounded-sam/ as text/html 2023-12-06T10:24:29,912 Skipping link: not a file: https://www.piwheels.org/simple/autodistill-grounded-sam/ 2023-12-06T10:24:29,912 Skipping link: not a file: https://pypi.org/simple/autodistill-grounded-sam/ 2023-12-06T10:24:29,931 Given no hashes to check 1 links for project 'autodistill-grounded-sam': discarding no candidates 2023-12-06T10:24:29,949 Collecting autodistill-grounded-sam==0.1.2 2023-12-06T10:24:29,951 Created temporary directory: /tmp/pip-unpack-16ish_nf 2023-12-06T10:24:30,157 Downloading autodistill_grounded_sam-0.1.2.tar.gz (10 kB) 2023-12-06T10:24:30,196 Added autodistill-grounded-sam==0.1.2 from https://files.pythonhosted.org/packages/9b/5f/221d0f7b60c17cbd272051e4fccd9aa085f131afbf17a18056cd02172ad9/autodistill_grounded_sam-0.1.2.tar.gz to build tracker '/tmp/pip-build-tracker-8uwdizfs' 2023-12-06T10:24:30,197 Running setup.py (path:/tmp/pip-wheel-g3faq4k9/autodistill-grounded-sam_c913a58a4a4443dcb0979fbffc6e128e/setup.py) egg_info for package autodistill-grounded-sam 2023-12-06T10:24:30,198 Created temporary directory: /tmp/pip-pip-egg-info-a8yq1evf 2023-12-06T10:24:30,199 Preparing metadata (setup.py): started 2023-12-06T10:24:30,200 Running command python setup.py egg_info 2023-12-06T10:24:31,733 error: externally-managed-environment 2023-12-06T10:24:31,734 × This environment is externally managed 2023-12-06T10:24:31,735 ╰─> To install Python packages system-wide, try apt install 2023-12-06T10:24:31,735 python3-xyz, where xyz is the package you are trying to 2023-12-06T10:24:31,736 install. 2023-12-06T10:24:31,737 If you wish to install a non-Debian-packaged Python package, 2023-12-06T10:24:31,738 create a virtual environment using python3 -m venv path/to/venv. 2023-12-06T10:24:31,738 Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make 2023-12-06T10:24:31,739 sure you have python3-full installed. 2023-12-06T10:24:31,740 For more information visit http://rptl.io/venv 2023-12-06T10:24:31,741 note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. 2023-12-06T10:24:31,742 hint: See PEP 668 for the detailed specification. 2023-12-06T10:24:32,444 Traceback (most recent call last): 2023-12-06T10:24:32,445 File "/tmp/pip-wheel-g3faq4k9/autodistill-grounded-sam_c913a58a4a4443dcb0979fbffc6e128e/setup.py", line 11, in 2023-12-06T10:24:32,445 import torch 2023-12-06T10:24:32,446 ModuleNotFoundError: No module named 'torch' 2023-12-06T10:24:32,447 During handling of the above exception, another exception occurred: 2023-12-06T10:24:32,449 Traceback (most recent call last): 2023-12-06T10:24:32,450 File "", line 2, in 2023-12-06T10:24:32,451 File "", line 34, in 2023-12-06T10:24:32,452 File "/tmp/pip-wheel-g3faq4k9/autodistill-grounded-sam_c913a58a4a4443dcb0979fbffc6e128e/setup.py", line 13, in 2023-12-06T10:24:32,453 subprocess.check_call([sys.executable, "-m", "pip", "install", "torch"]) 2023-12-06T10:24:32,453 File "/usr/lib/python3.11/subprocess.py", line 413, in check_call 2023-12-06T10:24:32,454 raise CalledProcessError(retcode, cmd) 2023-12-06T10:24:32,455 subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', 'install', 'torch']' returned non-zero exit status 1. 2023-12-06T10:24:32,517 ERROR: python setup.py egg_info exited with 1 2023-12-06T10:24:32,530 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-12-06T10:24:32,530 exec(compile('"'"''"'"''"'"' 2023-12-06T10:24:32,530 # This is -- a caller that pip uses to run setup.py 2023-12-06T10:24:32,530 # 2023-12-06T10:24:32,530 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-12-06T10:24:32,530 # import from `distutils.core` to work with newer packaging standards. 2023-12-06T10:24:32,530 # - It provides a clear error message when setuptools is not installed. 2023-12-06T10:24:32,530 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-12-06T10:24:32,530 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-12-06T10:24:32,530 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-12-06T10:24:32,530 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-12-06T10:24:32,530 import os, sys, tokenize 2023-12-06T10:24:32,530 2023-12-06T10:24:32,530 try: 2023-12-06T10:24:32,530 import setuptools 2023-12-06T10:24:32,530 except ImportError as error: 2023-12-06T10:24:32,530 print( 2023-12-06T10:24:32,530 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-12-06T10:24:32,530 "the build environment.", 2023-12-06T10:24:32,530 file=sys.stderr, 2023-12-06T10:24:32,530 ) 2023-12-06T10:24:32,530 sys.exit(1) 2023-12-06T10:24:32,530 2023-12-06T10:24:32,530 __file__ = %r 2023-12-06T10:24:32,530 sys.argv[0] = __file__ 2023-12-06T10:24:32,530 2023-12-06T10:24:32,530 if os.path.exists(__file__): 2023-12-06T10:24:32,530 filename = __file__ 2023-12-06T10:24:32,530 with tokenize.open(__file__) as f: 2023-12-06T10:24:32,530 setup_py_code = f.read() 2023-12-06T10:24:32,530 else: 2023-12-06T10:24:32,530 filename = "" 2023-12-06T10:24:32,530 setup_py_code = "from setuptools import setup; setup()" 2023-12-06T10:24:32,530 2023-12-06T10:24:32,530 exec(compile(setup_py_code, filename, "exec")) 2023-12-06T10:24:32,530 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-g3faq4k9/autodistill-grounded-sam_c913a58a4a4443dcb0979fbffc6e128e/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-a8yq1evf[/] 2023-12-06T10:24:32,530 [bold magenta]cwd[/]: /tmp/pip-wheel-g3faq4k9/autodistill-grounded-sam_c913a58a4a4443dcb0979fbffc6e128e/ 2023-12-06T10:24:32,531 Preparing metadata (setup.py): finished with status 'error' 2023-12-06T10:24:32,532 ERROR: metadata generation failed 2023-12-06T10:24:32,538 Exception information: 2023-12-06T10:24:32,538 Traceback (most recent call last): 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2023-12-06T10:24:32,538 call_subprocess( 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-12-06T10:24:32,538 raise error 2023-12-06T10:24:32,538 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-12-06T10:24:32,538 2023-12-06T10:24:32,538 The above exception was the direct cause of the following exception: 2023-12-06T10:24:32,538 2023-12-06T10:24:32,538 Traceback (most recent call last): 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-12-06T10:24:32,538 status = run_func(*args) 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2023-12-06T10:24:32,538 return func(self, options, args) 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-12-06T10:24:32,538 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve 2023-12-06T10:24:32,538 result = self._result = resolver.resolve( 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-12-06T10:24:32,538 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-12-06T10:24:32,538 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-12-06T10:24:32,538 if not criterion.candidates: 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-12-06T10:24:32,538 return bool(self._sequence) 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-12-06T10:24:32,538 return any(self) 2023-12-06T10:24:32,538 ^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-12-06T10:24:32,538 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-12-06T10:24:32,538 candidate = func() 2023-12-06T10:24:32,538 ^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 211, in _make_candidate_from_link 2023-12-06T10:24:32,538 self._link_candidate_cache[link] = LinkCandidate( 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-12-06T10:24:32,538 super().__init__( 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-12-06T10:24:32,538 self.dist = self._prepare() 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-12-06T10:24:32,538 dist = self._prepare_distribution() 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-12-06T10:24:32,538 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement 2023-12-06T10:24:32,538 return self._prepare_linked_requirement(req, parallel_builds) 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 640, in _prepare_linked_requirement 2023-12-06T10:24:32,538 dist = _get_prepared_distribution( 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2023-12-06T10:24:32,538 abstract_dist.prepare_distribution_metadata( 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 67, in prepare_distribution_metadata 2023-12-06T10:24:32,538 self.req.prepare_metadata() 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/req/req_install.py", line 583, in prepare_metadata 2023-12-06T10:24:32,538 self.metadata_directory = generate_metadata_legacy( 2023-12-06T10:24:32,538 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-12-06T10:24:32,538 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-12-06T10:24:32,538 raise MetadataGenerationFailed(package_details=details) from error 2023-12-06T10:24:32,538 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-12-06T10:24:32,551 Removed autodistill-grounded-sam==0.1.2 from https://files.pythonhosted.org/packages/9b/5f/221d0f7b60c17cbd272051e4fccd9aa085f131afbf17a18056cd02172ad9/autodistill_grounded_sam-0.1.2.tar.gz from build tracker '/tmp/pip-build-tracker-8uwdizfs' 2023-12-06T10:24:32,552 Removed build tracker: '/tmp/pip-build-tracker-8uwdizfs'