2023-03-13T07:31:55,280 Created temporary directory: /tmp/pip-ephem-wheel-cache-m5ukvelf 2023-03-13T07:31:55,285 Created temporary directory: /tmp/pip-build-tracker-sz05z9dc 2023-03-13T07:31:55,286 Initialized build tracking at /tmp/pip-build-tracker-sz05z9dc 2023-03-13T07:31:55,286 Created build tracker: /tmp/pip-build-tracker-sz05z9dc 2023-03-13T07:31:55,287 Entered build tracker: /tmp/pip-build-tracker-sz05z9dc 2023-03-13T07:31:55,288 Created temporary directory: /tmp/pip-wheel-w5qe7k52 2023-03-13T07:31:55,298 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2023-03-13T07:31:55,304 Created temporary directory: /tmp/pip-ephem-wheel-cache-ajkzw4rk 2023-03-13T07:31:55,357 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-03-13T07:31:55,364 2 location(s) to search for versions of gptq: 2023-03-13T07:31:55,364 * https://pypi.org/simple/gptq/ 2023-03-13T07:31:55,364 * https://www.piwheels.org/simple/gptq/ 2023-03-13T07:31:55,365 Fetching project page and analyzing links: https://pypi.org/simple/gptq/ 2023-03-13T07:31:55,366 Getting page https://pypi.org/simple/gptq/ 2023-03-13T07:31:55,370 Found index url https://pypi.org/simple 2023-03-13T07:31:55,476 Fetched page https://pypi.org/simple/gptq/ as application/vnd.pypi.simple.v1+json 2023-03-13T07:31:55,481 Found link https://files.pythonhosted.org/packages/40/01/23fff353264796134cdd762877481a6e1326b0083465abcef9bcb31a672a/gptq-0.0.1.dev0.tar.gz (from https://pypi.org/simple/gptq/), version: 0.0.1.dev0 2023-03-13T07:31:55,482 Found link https://files.pythonhosted.org/packages/c6/49/e215c14dbf58891b445ceb533a8fea4f86663a681ad46a2368502528deb1/gptq-0.0.1.tar.gz (from https://pypi.org/simple/gptq/), version: 0.0.1 2023-03-13T07:31:55,483 Found link https://files.pythonhosted.org/packages/3c/47/111d85b28e7daa7b7eac300e668edfde1bec7a20c12b11812226d6c591d6/gptq-0.0.2.dev0.tar.gz (from https://pypi.org/simple/gptq/), version: 0.0.2.dev0 2023-03-13T07:31:55,483 Found link https://files.pythonhosted.org/packages/0b/1e/839420456e2cedc06787773bfa77ed60bf584d6eb46217e06934f157878b/gptq-0.0.2.dev1.tar.gz (from https://pypi.org/simple/gptq/), version: 0.0.2.dev1 2023-03-13T07:31:55,484 Found link https://files.pythonhosted.org/packages/62/e0/45c4218f5cddb1f9a93637fe9ddcfbc80b5651216efa7542f190c9aac132/gptq-0.0.2.dev2.tar.gz (from https://pypi.org/simple/gptq/), version: 0.0.2.dev2 2023-03-13T07:31:55,485 Found link https://files.pythonhosted.org/packages/66/98/6b033b05eaf4a6a7f646cba85ab8b13fc0ad272c576721d2664ebfd86cdc/gptq-0.0.2.dev3.tar.gz (from https://pypi.org/simple/gptq/), version: 0.0.2.dev3 2023-03-13T07:31:55,485 Found link https://files.pythonhosted.org/packages/59/42/2969eef6ebc4ee29575d2db4f59435430e4e3637dd9e5b1190148bddd8fa/gptq-0.0.2.dev4.tar.gz (from https://pypi.org/simple/gptq/), version: 0.0.2.dev4 2023-03-13T07:31:55,486 Fetching project page and analyzing links: https://www.piwheels.org/simple/gptq/ 2023-03-13T07:31:55,487 Getting page https://www.piwheels.org/simple/gptq/ 2023-03-13T07:31:55,489 Found index url https://www.piwheels.org/simple 2023-03-13T07:31:55,701 Fetched page https://www.piwheels.org/simple/gptq/ as text/html 2023-03-13T07:31:55,703 Skipping link: not a file: https://www.piwheels.org/simple/gptq/ 2023-03-13T07:31:55,704 Skipping link: not a file: https://pypi.org/simple/gptq/ 2023-03-13T07:31:55,743 Given no hashes to check 1 links for project 'gptq': discarding no candidates 2023-03-13T07:31:55,773 Collecting gptq==0.0.2.dev4 2023-03-13T07:31:55,778 Created temporary directory: /tmp/pip-unpack-247miize 2023-03-13T07:31:56,007 Downloading gptq-0.0.2.dev4.tar.gz (18 kB) 2023-03-13T07:31:56,126 Added gptq==0.0.2.dev4 from https://files.pythonhosted.org/packages/59/42/2969eef6ebc4ee29575d2db4f59435430e4e3637dd9e5b1190148bddd8fa/gptq-0.0.2.dev4.tar.gz to build tracker '/tmp/pip-build-tracker-sz05z9dc' 2023-03-13T07:31:56,129 Running setup.py (path:/tmp/pip-wheel-w5qe7k52/gptq_b435e3c81fae4f82b6eb6cae285751b4/setup.py) egg_info for package gptq 2023-03-13T07:31:56,131 Created temporary directory: /tmp/pip-pip-egg-info-ixttzf2f 2023-03-13T07:31:56,131 Preparing metadata (setup.py): started 2023-03-13T07:31:56,134 Running command python setup.py egg_info 2023-03-13T07:31:57,260 Traceback (most recent call last): 2023-03-13T07:31:57,262 File "", line 36, in 2023-03-13T07:31:57,262 File "", line 34, in 2023-03-13T07:31:57,262 File "/tmp/pip-wheel-w5qe7k52/gptq_b435e3c81fae4f82b6eb6cae285751b4/setup.py", line 2, in 2023-03-13T07:31:57,263 from torch.utils import cpp_extension 2023-03-13T07:31:57,263 ModuleNotFoundError: No module named 'torch' 2023-03-13T07:31:57,352 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-03-13T07:31:57,396 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-03-13T07:31:57,396 exec(compile('"'"''"'"''"'"' 2023-03-13T07:31:57,396 # This is -- a caller that pip uses to run setup.py 2023-03-13T07:31:57,396 # 2023-03-13T07:31:57,396 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-03-13T07:31:57,396 # import from `distutils.core` to work with newer packaging standards. 2023-03-13T07:31:57,396 # - It provides a clear error message when setuptools is not installed. 2023-03-13T07:31:57,396 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-03-13T07:31:57,396 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-03-13T07:31:57,396 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-03-13T07:31:57,396 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-03-13T07:31:57,396 import os, sys, tokenize 2023-03-13T07:31:57,396 2023-03-13T07:31:57,396 try: 2023-03-13T07:31:57,396 import setuptools 2023-03-13T07:31:57,396 except ImportError as error: 2023-03-13T07:31:57,396 print( 2023-03-13T07:31:57,396 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-03-13T07:31:57,396 "the build environment.", 2023-03-13T07:31:57,396 file=sys.stderr, 2023-03-13T07:31:57,396 ) 2023-03-13T07:31:57,396 sys.exit(1) 2023-03-13T07:31:57,396 2023-03-13T07:31:57,396 __file__ = %r 2023-03-13T07:31:57,396 sys.argv[0] = __file__ 2023-03-13T07:31:57,396 2023-03-13T07:31:57,396 if os.path.exists(__file__): 2023-03-13T07:31:57,396 filename = __file__ 2023-03-13T07:31:57,396 with tokenize.open(__file__) as f: 2023-03-13T07:31:57,396 setup_py_code = f.read() 2023-03-13T07:31:57,396 else: 2023-03-13T07:31:57,396 filename = "" 2023-03-13T07:31:57,396 setup_py_code = "from setuptools import setup; setup()" 2023-03-13T07:31:57,396 2023-03-13T07:31:57,396 exec(compile(setup_py_code, filename, "exec")) 2023-03-13T07:31:57,396 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-w5qe7k52/gptq_b435e3c81fae4f82b6eb6cae285751b4/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-ixttzf2f[/] 2023-03-13T07:31:57,397 [bold magenta]cwd[/]: /tmp/pip-wheel-w5qe7k52/gptq_b435e3c81fae4f82b6eb6cae285751b4/ 2023-03-13T07:31:57,398 Preparing metadata (setup.py): finished with status 'error' 2023-03-13T07:31:57,401 ERROR: [present-rich] metadata generation failed 2023-03-13T07:31:57,415 Exception information: 2023-03-13T07:31:57,415 Traceback (most recent call last): 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 68, in generate_metadata 2023-03-13T07:31:57,415 spinner=spinner, 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-03-13T07:31:57,415 raise error 2023-03-13T07:31:57,415 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-03-13T07:31:57,415 2023-03-13T07:31:57,415 The above exception was the direct cause of the following exception: 2023-03-13T07:31:57,415 2023-03-13T07:31:57,415 Traceback (most recent call last): 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2023-03-13T07:31:57,415 status = run_func(*args) 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2023-03-13T07:31:57,415 return func(self, options, args) 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 170, in run 2023-03-13T07:31:57,415 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 93, in resolve 2023-03-13T07:31:57,415 collected.requirements, max_rounds=try_to_avoid_resolution_too_deep 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve 2023-03-13T07:31:57,415 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 348, in resolve 2023-03-13T07:31:57,415 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteria 2023-03-13T07:31:57,415 if not criterion.candidates: 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/resolvelib/structs.py", line 151, in __bool__ 2023-03-13T07:31:57,415 return bool(self._sequence) 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-03-13T07:31:57,415 return any(self) 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-03-13T07:31:57,415 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-03-13T07:31:57,415 candidate = func() 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 211, in _make_candidate_from_link 2023-03-13T07:31:57,415 version=version, 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 303, in __init__ 2023-03-13T07:31:57,415 version=version, 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 162, in __init__ 2023-03-13T07:31:57,415 self.dist = self._prepare() 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 231, in _prepare 2023-03-13T07:31:57,415 dist = self._prepare_distribution() 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 308, in _prepare_distribution 2023-03-13T07:31:57,415 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 491, in prepare_linked_requirement 2023-03-13T07:31:57,415 return self._prepare_linked_requirement(req, parallel_builds) 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 582, in _prepare_linked_requirement 2023-03-13T07:31:57,415 self.check_build_deps, 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 70, in _get_prepared_distribution 2023-03-13T07:31:57,415 finder, build_isolation, check_build_deps 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-03-13T07:31:57,415 self.req.prepare_metadata() 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/req/req_install.py", line 550, in prepare_metadata 2023-03-13T07:31:57,415 details=details, 2023-03-13T07:31:57,415 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-03-13T07:31:57,415 raise MetadataGenerationFailed(package_details=details) from error 2023-03-13T07:31:57,415 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-03-13T07:31:57,439 Removed gptq==0.0.2.dev4 from https://files.pythonhosted.org/packages/59/42/2969eef6ebc4ee29575d2db4f59435430e4e3637dd9e5b1190148bddd8fa/gptq-0.0.2.dev4.tar.gz from build tracker '/tmp/pip-build-tracker-sz05z9dc' 2023-03-13T07:31:57,440 Removed build tracker: '/tmp/pip-build-tracker-sz05z9dc'