2025-09-09T03:55:18,704 Created temporary directory: /tmp/pip-build-tracker-d937wqbb 2025-09-09T03:55:18,704 Initialized build tracking at /tmp/pip-build-tracker-d937wqbb 2025-09-09T03:55:18,704 Created build tracker: /tmp/pip-build-tracker-d937wqbb 2025-09-09T03:55:18,704 Entered build tracker: /tmp/pip-build-tracker-d937wqbb 2025-09-09T03:55:18,705 Created temporary directory: /tmp/pip-wheel-88buth6i 2025-09-09T03:55:18,708 Created temporary directory: /tmp/pip-ephem-wheel-cache-8qdq5id2 2025-09-09T03:55:18,767 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-09T03:55:18,769 2 location(s) to search for versions of auto-crop: 2025-09-09T03:55:18,769 * https://pypi.org/simple/auto-crop/ 2025-09-09T03:55:18,769 * https://www.piwheels.org/simple/auto-crop/ 2025-09-09T03:55:18,769 Fetching project page and analyzing links: https://pypi.org/simple/auto-crop/ 2025-09-09T03:55:18,770 Getting page https://pypi.org/simple/auto-crop/ 2025-09-09T03:55:18,771 Found index url https://pypi.org/simple/ 2025-09-09T03:55:18,918 Fetched page https://pypi.org/simple/auto-crop/ as application/vnd.pypi.simple.v1+json 2025-09-09T03:55:18,920 Found link https://files.pythonhosted.org/packages/06/21/5734b1e8f0a99eecb20eb4b4310480f1f13da13b22675fdb5808c85e5762/auto_crop-0.2.1.tar.gz (from https://pypi.org/simple/auto-crop/) (requires-python:>=3.6), version: 0.2.1 2025-09-09T03:55:18,922 Found link https://files.pythonhosted.org/packages/9b/d2/0858c05b9fc7da47104e143a50b993ab763f477676082a22c537142ee396/auto_crop-0.3.0.tar.gz (from https://pypi.org/simple/auto-crop/) (requires-python:>=3.5), version: 0.3.0 2025-09-09T03:55:18,923 Fetching project page and analyzing links: https://www.piwheels.org/simple/auto-crop/ 2025-09-09T03:55:18,923 Getting page https://www.piwheels.org/simple/auto-crop/ 2025-09-09T03:55:18,925 Found index url https://www.piwheels.org/simple/ 2025-09-09T03:55:19,020 Fetched page https://www.piwheels.org/simple/auto-crop/ as text/html 2025-09-09T03:55:19,021 Skipping link: not a file: https://www.piwheels.org/simple/auto-crop/ 2025-09-09T03:55:19,021 Skipping link: not a file: https://pypi.org/simple/auto-crop/ 2025-09-09T03:55:19,044 Given no hashes to check 1 links for project 'auto-crop': discarding no candidates 2025-09-09T03:55:19,045 Collecting auto-crop==0.2.1 2025-09-09T03:55:19,047 Created temporary directory: /tmp/pip-unpack-_1lqexg6 2025-09-09T03:55:19,351 Downloading auto_crop-0.2.1.tar.gz (2.6 MB) 2025-09-09T03:55:19,807 Added auto-crop==0.2.1 from https://files.pythonhosted.org/packages/06/21/5734b1e8f0a99eecb20eb4b4310480f1f13da13b22675fdb5808c85e5762/auto_crop-0.2.1.tar.gz to build tracker '/tmp/pip-build-tracker-d937wqbb' 2025-09-09T03:55:19,808 Running setup.py (path:/tmp/pip-wheel-88buth6i/auto-crop_3682f5fc8dc24361b05e1d3722b68564/setup.py) egg_info for package auto-crop 2025-09-09T03:55:19,808 Created temporary directory: /tmp/pip-pip-egg-info-0jhtr_ec 2025-09-09T03:55:19,809 Preparing metadata (setup.py): started 2025-09-09T03:55:19,809 Running command python setup.py egg_info 2025-09-09T03:55:20,696 WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. 2025-09-09T03:55:20,697 Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. 2025-09-09T03:55:20,697 To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. 2025-09-09T03:55:21,127 error: externally-managed-environment 2025-09-09T03:55:21,127 × This environment is externally managed 2025-09-09T03:55:21,128 ╰─> To install Python packages system-wide, try apt install 2025-09-09T03:55:21,128 python3-xyz, where xyz is the package you are trying to 2025-09-09T03:55:21,128 install. 2025-09-09T03:55:21,128 If you wish to install a non-Debian-packaged Python package, 2025-09-09T03:55:21,128 create a virtual environment using python3 -m venv path/to/venv. 2025-09-09T03:55:21,128 Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make 2025-09-09T03:55:21,128 sure you have python3-full installed. 2025-09-09T03:55:21,128 For more information visit http://rptl.io/venv 2025-09-09T03:55:21,129 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. 2025-09-09T03:55:21,129 hint: See PEP 668 for the detailed specification. 2025-09-09T03:55:21,130 Traceback (most recent call last): 2025-09-09T03:55:21,132 File "", line 2, in 2025-09-09T03:55:21,132 exec(compile(''' 2025-09-09T03:55:21,132 ~~~~^^^^^^^^^^^^ 2025-09-09T03:55:21,132 # This is -- a caller that pip uses to run setup.py 2025-09-09T03:55:21,133 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,133 ...<32 lines>... 2025-09-09T03:55:21,133 exec(compile(setup_py_code, filename, "exec")) 2025-09-09T03:55:21,133 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,133 ''' % ('/tmp/pip-wheel-88buth6i/auto-crop_3682f5fc8dc24361b05e1d3722b68564/setup.py',), "", "exec")) 2025-09-09T03:55:21,133 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,133 File "", line 35, in 2025-09-09T03:55:21,133 File "/tmp/pip-wheel-88buth6i/auto-crop_3682f5fc8dc24361b05e1d3722b68564/setup.py", line 20, in 2025-09-09T03:55:21,134 install_and_import('torch') 2025-09-09T03:55:21,134 ~~~~~~~~~~~~~~~~~~^^^^^^^^^ 2025-09-09T03:55:21,134 File "/tmp/pip-wheel-88buth6i/auto-crop_3682f5fc8dc24361b05e1d3722b68564/setup.py", line 14, in install_and_import 2025-09-09T03:55:21,134 globals()[package] = importlib.import_module(package) 2025-09-09T03:55:21,134 ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ 2025-09-09T03:55:21,134 File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module 2025-09-09T03:55:21,134 return _bootstrap._gcd_import(name[level:], package, level) 2025-09-09T03:55:21,134 ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,134 File "", line 1387, in _gcd_import 2025-09-09T03:55:21,134 File "", line 1360, in _find_and_load 2025-09-09T03:55:21,135 File "", line 1324, in _find_and_load_unlocked 2025-09-09T03:55:21,135 ModuleNotFoundError: No module named 'torch' 2025-09-09T03:55:21,317 ERROR: python setup.py egg_info exited with 1 2025-09-09T03:55:21,328 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2025-09-09T03:55:21,328 exec(compile('"'"''"'"''"'"' 2025-09-09T03:55:21,328 # This is -- a caller that pip uses to run setup.py 2025-09-09T03:55:21,328 # 2025-09-09T03:55:21,328 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-09T03:55:21,328 # import from `distutils.core` to work with newer packaging standards. 2025-09-09T03:55:21,328 # - It provides a clear error message when setuptools is not installed. 2025-09-09T03:55:21,328 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-09T03:55:21,328 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-09T03:55:21,328 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-09T03:55:21,328 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-09T03:55:21,328 import os, sys, tokenize, traceback 2025-09-09T03:55:21,328 2025-09-09T03:55:21,328 try: 2025-09-09T03:55:21,328 import setuptools 2025-09-09T03:55:21,328 except ImportError: 2025-09-09T03:55:21,328 print( 2025-09-09T03:55:21,328 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-09T03:55:21,328 "the build environment with exception:", 2025-09-09T03:55:21,328 file=sys.stderr, 2025-09-09T03:55:21,328 ) 2025-09-09T03:55:21,328 traceback.print_exc() 2025-09-09T03:55:21,328 sys.exit(1) 2025-09-09T03:55:21,328 2025-09-09T03:55:21,328 __file__ = %r 2025-09-09T03:55:21,328 sys.argv[0] = __file__ 2025-09-09T03:55:21,328 2025-09-09T03:55:21,328 if os.path.exists(__file__): 2025-09-09T03:55:21,328 filename = __file__ 2025-09-09T03:55:21,328 with tokenize.open(__file__) as f: 2025-09-09T03:55:21,328 setup_py_code = f.read() 2025-09-09T03:55:21,328 else: 2025-09-09T03:55:21,328 filename = "" 2025-09-09T03:55:21,328 setup_py_code = "from setuptools import setup; setup()" 2025-09-09T03:55:21,328 2025-09-09T03:55:21,328 exec(compile(setup_py_code, filename, "exec")) 2025-09-09T03:55:21,328 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-88buth6i/auto-crop_3682f5fc8dc24361b05e1d3722b68564/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-0jhtr_ec[/] 2025-09-09T03:55:21,329 [bold magenta]cwd[/]: /tmp/pip-wheel-88buth6i/auto-crop_3682f5fc8dc24361b05e1d3722b68564/ 2025-09-09T03:55:21,329 Preparing metadata (setup.py): finished with status 'error' 2025-09-09T03:55:21,330 ERROR: metadata generation failed 2025-09-09T03:55:21,335 Exception information: 2025-09-09T03:55:21,335 Traceback (most recent call last): 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 63, in generate_metadata 2025-09-09T03:55:21,335 call_subprocess( 2025-09-09T03:55:21,335 ~~~~~~~~~~~~~~~^ 2025-09-09T03:55:21,335 args, 2025-09-09T03:55:21,335 ^^^^^ 2025-09-09T03:55:21,335 ...<2 lines>... 2025-09-09T03:55:21,335 spinner=spinner, 2025-09-09T03:55:21,335 ^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,335 ) 2025-09-09T03:55:21,335 ^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess 2025-09-09T03:55:21,335 raise error 2025-09-09T03:55:21,335 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2025-09-09T03:55:21,335 2025-09-09T03:55:21,335 The above exception was the direct cause of the following exception: 2025-09-09T03:55:21,335 2025-09-09T03:55:21,335 Traceback (most recent call last): 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-09T03:55:21,335 status = _inner_run() 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-09T03:55:21,335 return self.run(options, args) 2025-09-09T03:55:21,335 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-09T03:55:21,335 return func(self, options, args) 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2025-09-09T03:55:21,335 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve 2025-09-09T03:55:21,335 result = self._result = resolver.resolve( 2025-09-09T03:55:21,335 ~~~~~~~~~~~~~~~~^ 2025-09-09T03:55:21,335 collected.requirements, max_rounds=limit_how_complex_resolution_can_be 2025-09-09T03:55:21,335 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,335 ) 2025-09-09T03:55:21,335 ^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve 2025-09-09T03:55:21,335 state = resolution.resolve(requirements, max_rounds=max_rounds) 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve 2025-09-09T03:55:21,335 self._add_to_criteria(self.state.criteria, r, parent=None) 2025-09-09T03:55:21,335 ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria 2025-09-09T03:55:21,335 if not criterion.candidates: 2025-09-09T03:55:21,335 ^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__ 2025-09-09T03:55:21,335 return bool(self._sequence) 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__ 2025-09-09T03:55:21,335 self._bool = any(self) 2025-09-09T03:55:21,335 ~~~^^^^^^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in 2025-09-09T03:55:21,335 return (c for c in iterator if id(c) not in self._incompatible_ids) 2025-09-09T03:55:21,335 ^^^^^^^^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built 2025-09-09T03:55:21,335 candidate = func() 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link 2025-09-09T03:55:21,335 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2025-09-09T03:55:21,335 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-09T03:55:21,335 link, template, name, version 2025-09-09T03:55:21,335 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,335 ) 2025-09-09T03:55:21,335 ^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link 2025-09-09T03:55:21,335 self._link_candidate_cache[link] = LinkCandidate( 2025-09-09T03:55:21,335 ~~~~~~~~~~~~~^ 2025-09-09T03:55:21,335 link, 2025-09-09T03:55:21,335 ^^^^^ 2025-09-09T03:55:21,335 ...<3 lines>... 2025-09-09T03:55:21,335 version=version, 2025-09-09T03:55:21,335 ^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,335 ) 2025-09-09T03:55:21,335 ^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__ 2025-09-09T03:55:21,335 super().__init__( 2025-09-09T03:55:21,335 ~~~~~~~~~~~~~~~~^ 2025-09-09T03:55:21,335 link=link, 2025-09-09T03:55:21,335 ^^^^^^^^^^ 2025-09-09T03:55:21,335 ...<4 lines>... 2025-09-09T03:55:21,335 version=version, 2025-09-09T03:55:21,335 ^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,335 ) 2025-09-09T03:55:21,335 ^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__ 2025-09-09T03:55:21,335 self.dist = self._prepare() 2025-09-09T03:55:21,335 ~~~~~~~~~~~~~^^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare 2025-09-09T03:55:21,335 dist = self._prepare_distribution() 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution 2025-09-09T03:55:21,335 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2025-09-09T03:55:21,335 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement 2025-09-09T03:55:21,335 return self._prepare_linked_requirement(req, parallel_builds) 2025-09-09T03:55:21,335 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement 2025-09-09T03:55:21,335 dist = _get_prepared_distribution( 2025-09-09T03:55:21,335 req, 2025-09-09T03:55:21,335 ...<3 lines>... 2025-09-09T03:55:21,335 self.check_build_deps, 2025-09-09T03:55:21,335 ) 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2025-09-09T03:55:21,335 abstract_dist.prepare_distribution_metadata( 2025-09-09T03:55:21,335 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-09T03:55:21,335 finder, build_isolation, check_build_deps 2025-09-09T03:55:21,335 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,335 ) 2025-09-09T03:55:21,335 ^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/distributions/sdist.py", line 69, in prepare_distribution_metadata 2025-09-09T03:55:21,335 self.req.prepare_metadata() 2025-09-09T03:55:21,335 ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 581, in prepare_metadata 2025-09-09T03:55:21,335 self.metadata_directory = generate_metadata_legacy( 2025-09-09T03:55:21,335 ~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-09T03:55:21,335 build_env=self.build_env, 2025-09-09T03:55:21,335 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,335 ...<3 lines>... 2025-09-09T03:55:21,335 details=details, 2025-09-09T03:55:21,335 ^^^^^^^^^^^^^^^^ 2025-09-09T03:55:21,335 ) 2025-09-09T03:55:21,335 ^ 2025-09-09T03:55:21,335 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 70, in generate_metadata 2025-09-09T03:55:21,335 raise MetadataGenerationFailed(package_details=details) from error 2025-09-09T03:55:21,335 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2025-09-09T03:55:21,356 Removed auto-crop==0.2.1 from https://files.pythonhosted.org/packages/06/21/5734b1e8f0a99eecb20eb4b4310480f1f13da13b22675fdb5808c85e5762/auto_crop-0.2.1.tar.gz from build tracker '/tmp/pip-build-tracker-d937wqbb' 2025-09-09T03:55:21,357 Removed build tracker: '/tmp/pip-build-tracker-d937wqbb'