2023-09-12T18:48:39,897 Created temporary directory: /tmp/pip-build-tracker-bwil0fbo 2023-09-12T18:48:39,899 Initialized build tracking at /tmp/pip-build-tracker-bwil0fbo 2023-09-12T18:48:39,900 Created build tracker: /tmp/pip-build-tracker-bwil0fbo 2023-09-12T18:48:39,900 Entered build tracker: /tmp/pip-build-tracker-bwil0fbo 2023-09-12T18:48:39,901 Created temporary directory: /tmp/pip-wheel-k_ga3ncz 2023-09-12T18:48:39,904 Created temporary directory: /tmp/pip-ephem-wheel-cache-2uenq8f9 2023-09-12T18:48:39,927 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-12T18:48:39,931 2 location(s) to search for versions of auto-crop: 2023-09-12T18:48:39,931 * https://pypi.org/simple/auto-crop/ 2023-09-12T18:48:39,931 * https://www.piwheels.org/simple/auto-crop/ 2023-09-12T18:48:39,932 Fetching project page and analyzing links: https://pypi.org/simple/auto-crop/ 2023-09-12T18:48:39,933 Getting page https://pypi.org/simple/auto-crop/ 2023-09-12T18:48:39,934 Found index url https://pypi.org/simple/ 2023-09-12T18:48:40,300 Fetched page https://pypi.org/simple/auto-crop/ as application/vnd.pypi.simple.v1+json 2023-09-12T18:48:40,302 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-12T18:48:40,303 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-12T18:48:40,303 Fetching project page and analyzing links: https://www.piwheels.org/simple/auto-crop/ 2023-09-12T18:48:40,304 Getting page https://www.piwheels.org/simple/auto-crop/ 2023-09-12T18:48:40,305 Found index url https://www.piwheels.org/simple/ 2023-09-12T18:48:40,636 Fetched page https://www.piwheels.org/simple/auto-crop/ as text/html 2023-09-12T18:48:40,637 Skipping link: not a file: https://www.piwheels.org/simple/auto-crop/ 2023-09-12T18:48:40,638 Skipping link: not a file: https://pypi.org/simple/auto-crop/ 2023-09-12T18:48:40,656 Given no hashes to check 1 links for project 'auto-crop': discarding no candidates 2023-09-12T18:48:40,675 Collecting auto-crop==0.2.1 2023-09-12T18:48:40,677 Created temporary directory: /tmp/pip-unpack-i_hsg6us 2023-09-12T18:48:41,287 Downloading auto_crop-0.2.1.tar.gz (2.6 MB) 2023-09-12T18:48:41,964 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-bwil0fbo' 2023-09-12T18:48:41,966 Running setup.py (path:/tmp/pip-wheel-k_ga3ncz/auto-crop_4131867e6a2a4dcb860a9485f2c20f10/setup.py) egg_info for package auto-crop 2023-09-12T18:48:41,967 Created temporary directory: /tmp/pip-pip-egg-info-m2gn7u6j 2023-09-12T18:48:41,967 Preparing metadata (setup.py): started 2023-09-12T18:48:41,969 Running command python setup.py egg_info 2023-09-12T18:48:43,142 WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. 2023-09-12T18:48:43,143 Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. 2023-09-12T18:48:43,143 To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. 2023-09-12T18:48:43,404 error: externally-managed-environment 2023-09-12T18:48:43,406 × This environment is externally managed 2023-09-12T18:48:43,407 ╰─> To install Python packages system-wide, try apt install 2023-09-12T18:48:43,407 python3-xyz, where xyz is the package you are trying to 2023-09-12T18:48:43,408 install. 2023-09-12T18:48:43,409 If you wish to install a non-Debian-packaged Python package, 2023-09-12T18:48:43,410 create a virtual environment using python3 -m venv path/to/venv. 2023-09-12T18:48:43,411 Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make 2023-09-12T18:48:43,412 sure you have python3-full installed. 2023-09-12T18:48:43,414 If you wish to install a non-Debian packaged Python application, 2023-09-12T18:48:43,414 it may be easiest to use pipx install xyz, which will manage a 2023-09-12T18:48:43,415 virtual environment for you. Make sure you have pipx installed. 2023-09-12T18:48:43,416 See /usr/share/doc/python3.11/README.venv for more information. 2023-09-12T18:48:43,417 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-12T18:48:43,417 hint: See PEP 668 for the detailed specification. 2023-09-12T18:48:44,172 Traceback (most recent call last): 2023-09-12T18:48:44,173 File "", line 2, in 2023-09-12T18:48:44,173 File "", line 34, in 2023-09-12T18:48:44,174 File "/tmp/pip-wheel-k_ga3ncz/auto-crop_4131867e6a2a4dcb860a9485f2c20f10/setup.py", line 20, in 2023-09-12T18:48:44,175 install_and_import('torch') 2023-09-12T18:48:44,176 File "/tmp/pip-wheel-k_ga3ncz/auto-crop_4131867e6a2a4dcb860a9485f2c20f10/setup.py", line 14, in install_and_import 2023-09-12T18:48:44,177 globals()[package] = importlib.import_module(package) 2023-09-12T18:48:44,178 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,178 File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module 2023-09-12T18:48:44,179 return _bootstrap._gcd_import(name[level:], package, level) 2023-09-12T18:48:44,180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,181 File "", line 1206, in _gcd_import 2023-09-12T18:48:44,182 File "", line 1178, in _find_and_load 2023-09-12T18:48:44,183 File "", line 1142, in _find_and_load_unlocked 2023-09-12T18:48:44,184 ModuleNotFoundError: No module named 'torch' 2023-09-12T18:48:44,421 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-09-12T18:48:44,434 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-09-12T18:48:44,434 exec(compile('"'"''"'"''"'"' 2023-09-12T18:48:44,434 # This is -- a caller that pip uses to run setup.py 2023-09-12T18:48:44,434 # 2023-09-12T18:48:44,434 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-12T18:48:44,434 # import from `distutils.core` to work with newer packaging standards. 2023-09-12T18:48:44,434 # - It provides a clear error message when setuptools is not installed. 2023-09-12T18:48:44,434 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-12T18:48:44,434 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-12T18:48:44,434 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-12T18:48:44,434 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-12T18:48:44,434 import os, sys, tokenize 2023-09-12T18:48:44,434 2023-09-12T18:48:44,434 try: 2023-09-12T18:48:44,434 import setuptools 2023-09-12T18:48:44,434 except ImportError as error: 2023-09-12T18:48:44,434 print( 2023-09-12T18:48:44,434 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-12T18:48:44,434 "the build environment.", 2023-09-12T18:48:44,434 file=sys.stderr, 2023-09-12T18:48:44,434 ) 2023-09-12T18:48:44,434 sys.exit(1) 2023-09-12T18:48:44,434 2023-09-12T18:48:44,434 __file__ = %r 2023-09-12T18:48:44,434 sys.argv[0] = __file__ 2023-09-12T18:48:44,434 2023-09-12T18:48:44,434 if os.path.exists(__file__): 2023-09-12T18:48:44,434 filename = __file__ 2023-09-12T18:48:44,434 with tokenize.open(__file__) as f: 2023-09-12T18:48:44,434 setup_py_code = f.read() 2023-09-12T18:48:44,434 else: 2023-09-12T18:48:44,434 filename = "" 2023-09-12T18:48:44,434 setup_py_code = "from setuptools import setup; setup()" 2023-09-12T18:48:44,434 2023-09-12T18:48:44,434 exec(compile(setup_py_code, filename, "exec")) 2023-09-12T18:48:44,434 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-k_ga3ncz/auto-crop_4131867e6a2a4dcb860a9485f2c20f10/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-m2gn7u6j[/] 2023-09-12T18:48:44,434 [bold magenta]cwd[/]: /tmp/pip-wheel-k_ga3ncz/auto-crop_4131867e6a2a4dcb860a9485f2c20f10/ 2023-09-12T18:48:44,435 Preparing metadata (setup.py): finished with status 'error' 2023-09-12T18:48:44,437 ERROR: [present-rich] metadata generation failed 2023-09-12T18:48:44,442 Exception information: 2023-09-12T18:48:44,442 Traceback (most recent call last): 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2023-09-12T18:48:44,442 call_subprocess( 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-09-12T18:48:44,442 raise error 2023-09-12T18:48:44,442 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-09-12T18:48:44,442 2023-09-12T18:48:44,442 The above exception was the direct cause of the following exception: 2023-09-12T18:48:44,442 2023-09-12T18:48:44,442 Traceback (most recent call last): 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-12T18:48:44,442 status = run_func(*args) 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-12T18:48:44,442 return func(self, options, args) 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-09-12T18:48:44,442 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve 2023-09-12T18:48:44,442 result = self._result = resolver.resolve( 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-09-12T18:48:44,442 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-09-12T18:48:44,442 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-09-12T18:48:44,442 if not criterion.candidates: 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-09-12T18:48:44,442 return bool(self._sequence) 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-09-12T18:48:44,442 return any(self) 2023-09-12T18:48:44,442 ^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-09-12T18:48:44,442 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-09-12T18:48:44,442 candidate = func() 2023-09-12T18:48:44,442 ^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link 2023-09-12T18:48:44,442 self._link_candidate_cache[link] = LinkCandidate( 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-09-12T18:48:44,442 super().__init__( 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-09-12T18:48:44,442 self.dist = self._prepare() 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-09-12T18:48:44,442 dist = self._prepare_distribution() 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-09-12T18:48:44,442 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement 2023-09-12T18:48:44,442 return self._prepare_linked_requirement(req, parallel_builds) 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 653, in _prepare_linked_requirement 2023-09-12T18:48:44,442 dist = _get_prepared_distribution( 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution 2023-09-12T18:48:44,442 abstract_dist.prepare_distribution_metadata( 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-09-12T18:48:44,442 self.req.prepare_metadata() 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/req/req_install.py", line 568, in prepare_metadata 2023-09-12T18:48:44,442 self.metadata_directory = generate_metadata_legacy( 2023-09-12T18:48:44,442 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T18:48:44,442 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-09-12T18:48:44,442 raise MetadataGenerationFailed(package_details=details) from error 2023-09-12T18:48:44,442 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-09-12T18:48:44,456 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-bwil0fbo' 2023-09-12T18:48:44,457 Removed build tracker: '/tmp/pip-build-tracker-bwil0fbo'