2023-11-03T13:08:11,532 Created temporary directory: /tmp/pip-build-tracker-qqihm2vj 2023-11-03T13:08:11,536 Initialized build tracking at /tmp/pip-build-tracker-qqihm2vj 2023-11-03T13:08:11,536 Created build tracker: /tmp/pip-build-tracker-qqihm2vj 2023-11-03T13:08:11,537 Entered build tracker: /tmp/pip-build-tracker-qqihm2vj 2023-11-03T13:08:11,538 Created temporary directory: /tmp/pip-wheel-n1fpns2c 2023-11-03T13:08:11,549 Created temporary directory: /tmp/pip-ephem-wheel-cache-hdao0biw 2023-11-03T13:08:11,605 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-11-03T13:08:11,619 2 location(s) to search for versions of pytorch-quantization: 2023-11-03T13:08:11,619 * https://pypi.org/simple/pytorch-quantization/ 2023-11-03T13:08:11,619 * https://www.piwheels.org/simple/pytorch-quantization/ 2023-11-03T13:08:11,620 Fetching project page and analyzing links: https://pypi.org/simple/pytorch-quantization/ 2023-11-03T13:08:11,621 Getting page https://pypi.org/simple/pytorch-quantization/ 2023-11-03T13:08:11,625 Found index url https://pypi.org/simple/ 2023-11-03T13:08:11,738 Fetched page https://pypi.org/simple/pytorch-quantization/ as application/vnd.pypi.simple.v1+json 2023-11-03T13:08:11,742 Found link https://files.pythonhosted.org/packages/d4/3e/e891628c040badc4d18ca48a28bf5a991654161fb32ee5f54ec2317e2664/pytorch-quantization-0.0.1.dev4.tar.gz (from https://pypi.org/simple/pytorch-quantization/), version: 0.0.1.dev4 2023-11-03T13:08:11,743 Found link https://files.pythonhosted.org/packages/35/ea/c6c4ab73da4e36b9eddea7ff687b98e1bccb59bfb3bd0c24459914fb17f2/pytorch-quantization-0.0.1.dev5.tar.gz (from https://pypi.org/simple/pytorch-quantization/), version: 0.0.1.dev5 2023-11-03T13:08:11,744 Found link https://files.pythonhosted.org/packages/6a/e7/a781111ae7de26df1bbc157b7124dfca028412f7f62f6081b894e433d53f/pytorch-quantization-2.1.3.tar.gz (from https://pypi.org/simple/pytorch-quantization/), version: 2.1.3 2023-11-03T13:08:11,745 Skipping link: No binaries permitted for pytorch-quantization: https://files.pythonhosted.org/packages/53/a8/351e8fb2779e494039e6bfd8dbd0c4b6a2df2cdf0851905cebe517e2e577/pytorch_quantization-2.1.3-py3-none-any.whl (from https://pypi.org/simple/pytorch-quantization/) 2023-11-03T13:08:11,745 Found link https://files.pythonhosted.org/packages/0d/c7/f2738d2920662d34b97c7e21e8776d426a3834deefc4f8cc322dcdfac735/pytorch-quantization-2.2.0.tar.gz (from https://pypi.org/simple/pytorch-quantization/), version: 2.2.0 2023-11-03T13:08:11,746 Found link https://files.pythonhosted.org/packages/a2/3e/304d0287752475347de8171b0e783c0a1730d3413c828c928774cf7d7cf1/pytorch-quantization-2.2.1.tar.gz (from https://pypi.org/simple/pytorch-quantization/), version: 2.2.1 2023-11-03T13:08:11,747 Fetching project page and analyzing links: https://www.piwheels.org/simple/pytorch-quantization/ 2023-11-03T13:08:11,748 Getting page https://www.piwheels.org/simple/pytorch-quantization/ 2023-11-03T13:08:11,750 Found index url https://www.piwheels.org/simple/ 2023-11-03T13:08:11,869 Fetched page https://www.piwheels.org/simple/pytorch-quantization/ as text/html 2023-11-03T13:08:11,871 Skipping link: not a file: https://www.piwheels.org/simple/pytorch-quantization/ 2023-11-03T13:08:11,871 Skipping link: not a file: https://pypi.org/simple/pytorch-quantization/ 2023-11-03T13:08:11,904 Given no hashes to check 1 links for project 'pytorch-quantization': discarding no candidates 2023-11-03T13:08:11,937 Collecting pytorch-quantization==2.2.1 2023-11-03T13:08:11,941 Created temporary directory: /tmp/pip-unpack-0s3efuyt 2023-11-03T13:08:12,054 Downloading pytorch-quantization-2.2.1.tar.gz (6.8 kB) 2023-11-03T13:08:12,120 Added pytorch-quantization==2.2.1 from https://files.pythonhosted.org/packages/a2/3e/304d0287752475347de8171b0e783c0a1730d3413c828c928774cf7d7cf1/pytorch-quantization-2.2.1.tar.gz to build tracker '/tmp/pip-build-tracker-qqihm2vj' 2023-11-03T13:08:12,123 Running setup.py (path:/tmp/pip-wheel-n1fpns2c/pytorch-quantization_14a918b6aebf416abd11942f00efd827/setup.py) egg_info for package pytorch-quantization 2023-11-03T13:08:12,125 Created temporary directory: /tmp/pip-pip-egg-info-ghrtqtv7 2023-11-03T13:08:12,125 Preparing metadata (setup.py): started 2023-11-03T13:08:12,127 Running command python setup.py egg_info 2023-11-03T13:08:13,203 Traceback (most recent call last): 2023-11-03T13:08:13,204 File "", line 36, in 2023-11-03T13:08:13,204 File "", line 34, in 2023-11-03T13:08:13,205 File "/tmp/pip-wheel-n1fpns2c/pytorch-quantization_14a918b6aebf416abd11942f00efd827/setup.py", line 137, in 2023-11-03T13:08:13,205 raise RuntimeError(open("ERROR.txt", "r").read()) 2023-11-03T13:08:13,206 RuntimeError: 2023-11-03T13:08:13,206 ########################################################################################### 2023-11-03T13:08:13,207 The package you are trying to install is only a placeholder project on PyPI.org repository. 2023-11-03T13:08:13,207 This package is hosted on NVIDIA Python Package Index. 2023-11-03T13:08:13,208 This package can be installed as: 2023-11-03T13:08:13,208 ``` 2023-11-03T13:08:13,209 $ pip install --no-cache-dir --extra-index-url https://pypi.nvidia.com pytorch-quantization 2023-11-03T13:08:13,209 ``` 2023-11-03T13:08:13,210 ########################################################################################### 2023-11-03T13:08:13,297 ERROR: python setup.py egg_info exited with 1 2023-11-03T13:08:13,341 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-11-03T13:08:13,341 exec(compile('"'"''"'"''"'"' 2023-11-03T13:08:13,341 # This is -- a caller that pip uses to run setup.py 2023-11-03T13:08:13,341 # 2023-11-03T13:08:13,341 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-11-03T13:08:13,341 # import from `distutils.core` to work with newer packaging standards. 2023-11-03T13:08:13,341 # - It provides a clear error message when setuptools is not installed. 2023-11-03T13:08:13,341 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-11-03T13:08:13,341 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-11-03T13:08:13,341 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-11-03T13:08:13,341 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-11-03T13:08:13,341 import os, sys, tokenize 2023-11-03T13:08:13,341 2023-11-03T13:08:13,341 try: 2023-11-03T13:08:13,341 import setuptools 2023-11-03T13:08:13,341 except ImportError as error: 2023-11-03T13:08:13,341 print( 2023-11-03T13:08:13,341 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-11-03T13:08:13,341 "the build environment.", 2023-11-03T13:08:13,341 file=sys.stderr, 2023-11-03T13:08:13,341 ) 2023-11-03T13:08:13,341 sys.exit(1) 2023-11-03T13:08:13,341 2023-11-03T13:08:13,341 __file__ = %r 2023-11-03T13:08:13,341 sys.argv[0] = __file__ 2023-11-03T13:08:13,341 2023-11-03T13:08:13,341 if os.path.exists(__file__): 2023-11-03T13:08:13,341 filename = __file__ 2023-11-03T13:08:13,341 with tokenize.open(__file__) as f: 2023-11-03T13:08:13,341 setup_py_code = f.read() 2023-11-03T13:08:13,341 else: 2023-11-03T13:08:13,341 filename = "" 2023-11-03T13:08:13,341 setup_py_code = "from setuptools import setup; setup()" 2023-11-03T13:08:13,341 2023-11-03T13:08:13,341 exec(compile(setup_py_code, filename, "exec")) 2023-11-03T13:08:13,341 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-n1fpns2c/pytorch-quantization_14a918b6aebf416abd11942f00efd827/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-ghrtqtv7[/] 2023-11-03T13:08:13,342 [bold magenta]cwd[/]: /tmp/pip-wheel-n1fpns2c/pytorch-quantization_14a918b6aebf416abd11942f00efd827/ 2023-11-03T13:08:13,343 Preparing metadata (setup.py): finished with status 'error' 2023-11-03T13:08:13,345 ERROR: metadata generation failed 2023-11-03T13:08:13,360 Exception information: 2023-11-03T13:08:13,360 Traceback (most recent call last): 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 68, in generate_metadata 2023-11-03T13:08:13,360 spinner=spinner, 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-11-03T13:08:13,360 raise error 2023-11-03T13:08:13,360 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-11-03T13:08:13,360 2023-11-03T13:08:13,360 The above exception was the direct cause of the following exception: 2023-11-03T13:08:13,360 2023-11-03T13:08:13,360 Traceback (most recent call last): 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-11-03T13:08:13,360 status = run_func(*args) 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2023-11-03T13:08:13,360 return func(self, options, args) 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-11-03T13:08:13,360 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve 2023-11-03T13:08:13,360 collected.requirements, max_rounds=limit_how_complex_resolution_can_be 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-11-03T13:08:13,360 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-11-03T13:08:13,360 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-11-03T13:08:13,360 if not criterion.candidates: 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-11-03T13:08:13,360 return bool(self._sequence) 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-11-03T13:08:13,360 return any(self) 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-11-03T13:08:13,360 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-11-03T13:08:13,360 candidate = func() 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 216, in _make_candidate_from_link 2023-11-03T13:08:13,360 version=version, 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 299, in __init__ 2023-11-03T13:08:13,360 version=version, 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-11-03T13:08:13,360 self.dist = self._prepare() 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-11-03T13:08:13,360 dist = self._prepare_distribution() 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-11-03T13:08:13,360 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement 2023-11-03T13:08:13,360 return self._prepare_linked_requirement(req, parallel_builds) 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 645, in _prepare_linked_requirement 2023-11-03T13:08:13,360 self.check_build_deps, 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 72, in _get_prepared_distribution 2023-11-03T13:08:13,360 finder, build_isolation, check_build_deps 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/distributions/sdist.py", line 67, in prepare_distribution_metadata 2023-11-03T13:08:13,360 self.req.prepare_metadata() 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 588, in prepare_metadata 2023-11-03T13:08:13,360 details=details, 2023-11-03T13:08:13,360 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-11-03T13:08:13,360 raise MetadataGenerationFailed(package_details=details) from error 2023-11-03T13:08:13,360 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-11-03T13:08:13,383 Removed pytorch-quantization==2.2.1 from https://files.pythonhosted.org/packages/a2/3e/304d0287752475347de8171b0e783c0a1730d3413c828c928774cf7d7cf1/pytorch-quantization-2.2.1.tar.gz from build tracker '/tmp/pip-build-tracker-qqihm2vj' 2023-11-03T13:08:13,384 Removed build tracker: '/tmp/pip-build-tracker-qqihm2vj'