2023-09-12T19:56:20,310 Created temporary directory: /tmp/pip-build-tracker-ty5vie7g 2023-09-12T19:56:20,312 Initialized build tracking at /tmp/pip-build-tracker-ty5vie7g 2023-09-12T19:56:20,313 Created build tracker: /tmp/pip-build-tracker-ty5vie7g 2023-09-12T19:56:20,313 Entered build tracker: /tmp/pip-build-tracker-ty5vie7g 2023-09-12T19:56:20,314 Created temporary directory: /tmp/pip-wheel-p_yx0s0r 2023-09-12T19:56:20,317 Created temporary directory: /tmp/pip-ephem-wheel-cache-lwnlccm6 2023-09-12T19:56:20,339 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-12T19:56:20,343 2 location(s) to search for versions of auto-crop: 2023-09-12T19:56:20,343 * https://pypi.org/simple/auto-crop/ 2023-09-12T19:56:20,343 * https://www.piwheels.org/simple/auto-crop/ 2023-09-12T19:56:20,343 Fetching project page and analyzing links: https://pypi.org/simple/auto-crop/ 2023-09-12T19:56:20,344 Getting page https://pypi.org/simple/auto-crop/ 2023-09-12T19:56:20,346 Found index url https://pypi.org/simple/ 2023-09-12T19:56:20,486 Fetched page https://pypi.org/simple/auto-crop/ as application/vnd.pypi.simple.v1+json 2023-09-12T19:56:20,487 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 2023-09-12T19:56:20,488 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 2023-09-12T19:56:20,489 Fetching project page and analyzing links: https://www.piwheels.org/simple/auto-crop/ 2023-09-12T19:56:20,490 Getting page https://www.piwheels.org/simple/auto-crop/ 2023-09-12T19:56:20,491 Found index url https://www.piwheels.org/simple/ 2023-09-12T19:56:20,757 Fetched page https://www.piwheels.org/simple/auto-crop/ as text/html 2023-09-12T19:56:20,758 Skipping link: not a file: https://www.piwheels.org/simple/auto-crop/ 2023-09-12T19:56:20,759 Skipping link: not a file: https://pypi.org/simple/auto-crop/ 2023-09-12T19:56:20,777 Given no hashes to check 1 links for project 'auto-crop': discarding no candidates 2023-09-12T19:56:20,795 Collecting auto-crop==0.3.0 2023-09-12T19:56:20,797 Created temporary directory: /tmp/pip-unpack-zbzgerqy 2023-09-12T19:56:21,044 Downloading auto_crop-0.3.0.tar.gz (4.3 MB) 2023-09-12T19:56:22,189 Added auto-crop==0.3.0 from https://files.pythonhosted.org/packages/9b/d2/0858c05b9fc7da47104e143a50b993ab763f477676082a22c537142ee396/auto_crop-0.3.0.tar.gz to build tracker '/tmp/pip-build-tracker-ty5vie7g' 2023-09-12T19:56:22,191 Running setup.py (path:/tmp/pip-wheel-p_yx0s0r/auto-crop_95ef8423250d4bea8b871612e8e23626/setup.py) egg_info for package auto-crop 2023-09-12T19:56:22,192 Created temporary directory: /tmp/pip-pip-egg-info-0dfr_ruv 2023-09-12T19:56:22,193 Preparing metadata (setup.py): started 2023-09-12T19:56:22,194 Running command python setup.py egg_info 2023-09-12T19:56:23,365 WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. 2023-09-12T19:56:23,365 Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. 2023-09-12T19:56:23,366 To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. 2023-09-12T19:56:23,632 error: externally-managed-environment 2023-09-12T19:56:23,633 × This environment is externally managed 2023-09-12T19:56:23,633 ╰─> To install Python packages system-wide, try apt install 2023-09-12T19:56:23,634 python3-xyz, where xyz is the package you are trying to 2023-09-12T19:56:23,635 install. 2023-09-12T19:56:23,636 If you wish to install a non-Debian-packaged Python package, 2023-09-12T19:56:23,636 create a virtual environment using python3 -m venv path/to/venv. 2023-09-12T19:56:23,637 Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make 2023-09-12T19:56:23,638 sure you have python3-full installed. 2023-09-12T19:56:23,639 If you wish to install a non-Debian packaged Python application, 2023-09-12T19:56:23,640 it may be easiest to use pipx install xyz, which will manage a 2023-09-12T19:56:23,640 virtual environment for you. Make sure you have pipx installed. 2023-09-12T19:56:23,641 See /usr/share/doc/python3.11/README.venv for more information. 2023-09-12T19:56:23,642 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-09-12T19:56:23,643 hint: See PEP 668 for the detailed specification. 2023-09-12T19:56:24,132 Traceback (most recent call last): 2023-09-12T19:56:24,132 File "", line 2, in 2023-09-12T19:56:24,133 File "", line 34, in 2023-09-12T19:56:24,133 File "/tmp/pip-wheel-p_yx0s0r/auto-crop_95ef8423250d4bea8b871612e8e23626/setup.py", line 20, in 2023-09-12T19:56:24,134 install_and_import('torch') 2023-09-12T19:56:24,134 File "/tmp/pip-wheel-p_yx0s0r/auto-crop_95ef8423250d4bea8b871612e8e23626/setup.py", line 14, in install_and_import 2023-09-12T19:56:24,135 globals()[package] = importlib.import_module(package) 2023-09-12T19:56:24,136 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,137 File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module 2023-09-12T19:56:24,138 return _bootstrap._gcd_import(name[level:], package, level) 2023-09-12T19:56:24,138 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,139 File "", line 1206, in _gcd_import 2023-09-12T19:56:24,140 File "", line 1178, in _find_and_load 2023-09-12T19:56:24,141 File "", line 1142, in _find_and_load_unlocked 2023-09-12T19:56:24,141 ModuleNotFoundError: No module named 'torch' 2023-09-12T19:56:24,353 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-09-12T19:56:24,366 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-09-12T19:56:24,366 exec(compile('"'"''"'"''"'"' 2023-09-12T19:56:24,366 # This is -- a caller that pip uses to run setup.py 2023-09-12T19:56:24,366 # 2023-09-12T19:56:24,366 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-12T19:56:24,366 # import from `distutils.core` to work with newer packaging standards. 2023-09-12T19:56:24,366 # - It provides a clear error message when setuptools is not installed. 2023-09-12T19:56:24,366 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-12T19:56:24,366 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-12T19:56:24,366 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-12T19:56:24,366 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-12T19:56:24,366 import os, sys, tokenize 2023-09-12T19:56:24,366 2023-09-12T19:56:24,366 try: 2023-09-12T19:56:24,366 import setuptools 2023-09-12T19:56:24,366 except ImportError as error: 2023-09-12T19:56:24,366 print( 2023-09-12T19:56:24,366 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-12T19:56:24,366 "the build environment.", 2023-09-12T19:56:24,366 file=sys.stderr, 2023-09-12T19:56:24,366 ) 2023-09-12T19:56:24,366 sys.exit(1) 2023-09-12T19:56:24,366 2023-09-12T19:56:24,366 __file__ = %r 2023-09-12T19:56:24,366 sys.argv[0] = __file__ 2023-09-12T19:56:24,366 2023-09-12T19:56:24,366 if os.path.exists(__file__): 2023-09-12T19:56:24,366 filename = __file__ 2023-09-12T19:56:24,366 with tokenize.open(__file__) as f: 2023-09-12T19:56:24,366 setup_py_code = f.read() 2023-09-12T19:56:24,366 else: 2023-09-12T19:56:24,366 filename = "" 2023-09-12T19:56:24,366 setup_py_code = "from setuptools import setup; setup()" 2023-09-12T19:56:24,366 2023-09-12T19:56:24,366 exec(compile(setup_py_code, filename, "exec")) 2023-09-12T19:56:24,366 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-p_yx0s0r/auto-crop_95ef8423250d4bea8b871612e8e23626/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-0dfr_ruv[/] 2023-09-12T19:56:24,366 [bold magenta]cwd[/]: /tmp/pip-wheel-p_yx0s0r/auto-crop_95ef8423250d4bea8b871612e8e23626/ 2023-09-12T19:56:24,367 Preparing metadata (setup.py): finished with status 'error' 2023-09-12T19:56:24,369 ERROR: [present-rich] metadata generation failed 2023-09-12T19:56:24,374 Exception information: 2023-09-12T19:56:24,374 Traceback (most recent call last): 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2023-09-12T19:56:24,374 call_subprocess( 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-09-12T19:56:24,374 raise error 2023-09-12T19:56:24,374 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-09-12T19:56:24,374 2023-09-12T19:56:24,374 The above exception was the direct cause of the following exception: 2023-09-12T19:56:24,374 2023-09-12T19:56:24,374 Traceback (most recent call last): 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-12T19:56:24,374 status = run_func(*args) 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-12T19:56:24,374 return func(self, options, args) 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-09-12T19:56:24,374 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve 2023-09-12T19:56:24,374 result = self._result = resolver.resolve( 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-09-12T19:56:24,374 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-09-12T19:56:24,374 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-09-12T19:56:24,374 if not criterion.candidates: 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-09-12T19:56:24,374 return bool(self._sequence) 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-09-12T19:56:24,374 return any(self) 2023-09-12T19:56:24,374 ^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-09-12T19:56:24,374 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-09-12T19:56:24,374 candidate = func() 2023-09-12T19:56:24,374 ^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link 2023-09-12T19:56:24,374 self._link_candidate_cache[link] = LinkCandidate( 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-09-12T19:56:24,374 super().__init__( 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-09-12T19:56:24,374 self.dist = self._prepare() 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-09-12T19:56:24,374 dist = self._prepare_distribution() 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-09-12T19:56:24,374 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement 2023-09-12T19:56:24,374 return self._prepare_linked_requirement(req, parallel_builds) 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 653, in _prepare_linked_requirement 2023-09-12T19:56:24,374 dist = _get_prepared_distribution( 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution 2023-09-12T19:56:24,374 abstract_dist.prepare_distribution_metadata( 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-09-12T19:56:24,374 self.req.prepare_metadata() 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/req/req_install.py", line 568, in prepare_metadata 2023-09-12T19:56:24,374 self.metadata_directory = generate_metadata_legacy( 2023-09-12T19:56:24,374 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T19:56:24,374 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-09-12T19:56:24,374 raise MetadataGenerationFailed(package_details=details) from error 2023-09-12T19:56:24,374 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-09-12T19:56:24,387 Removed auto-crop==0.3.0 from https://files.pythonhosted.org/packages/9b/d2/0858c05b9fc7da47104e143a50b993ab763f477676082a22c537142ee396/auto_crop-0.3.0.tar.gz from build tracker '/tmp/pip-build-tracker-ty5vie7g' 2023-09-12T19:56:24,387 Removed build tracker: '/tmp/pip-build-tracker-ty5vie7g'