2024-08-30T12:34:24,309 Disabling truststore because Python version isn't 3.10+ 2024-08-30T12:34:24,781 Created temporary directory: /tmp/pip-build-tracker-gn1orp46 2024-08-30T12:34:24,782 Initialized build tracking at /tmp/pip-build-tracker-gn1orp46 2024-08-30T12:34:24,783 Created build tracker: /tmp/pip-build-tracker-gn1orp46 2024-08-30T12:34:24,783 Entered build tracker: /tmp/pip-build-tracker-gn1orp46 2024-08-30T12:34:24,783 Created temporary directory: /tmp/pip-wheel-srgu4ln7 2024-08-30T12:34:24,789 Created temporary directory: /tmp/pip-ephem-wheel-cache-5vq7vfof 2024-08-30T12:34:24,832 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-08-30T12:34:24,835 2 location(s) to search for versions of tensorcircuit-ng: 2024-08-30T12:34:24,835 * https://pypi.org/simple/tensorcircuit-ng/ 2024-08-30T12:34:24,835 * https://www.piwheels.org/simple/tensorcircuit-ng/ 2024-08-30T12:34:24,835 Fetching project page and analyzing links: https://pypi.org/simple/tensorcircuit-ng/ 2024-08-30T12:34:24,835 Getting page https://pypi.org/simple/tensorcircuit-ng/ 2024-08-30T12:34:24,837 Found index url https://pypi.org/simple/ 2024-08-30T12:34:24,857 Fetched page https://pypi.org/simple/tensorcircuit-ng/ as application/vnd.pypi.simple.v1+json 2024-08-30T12:34:24,858 Found link https://files.pythonhosted.org/packages/13/e8/8bd0671e1e5965f6200cdad55989be722498c33f340941d6cd7db948d25f/tensorcircuit-ng-0.2.2.dev20220706.tar.gz (from https://pypi.org/simple/tensorcircuit-ng/), version: 0.2.2.dev20220706 2024-08-30T12:34:24,859 Skipping link: No binaries permitted for tensorcircuit-ng: https://files.pythonhosted.org/packages/29/5a/e72bbb663da5d6bb761c84f2062a08a338bf896506e042d31bdcf9a90fa8/tensorcircuit_ng-0.2.2.dev20220706-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit-ng/) 2024-08-30T12:34:24,859 Skipping link: No binaries permitted for tensorcircuit-ng: https://files.pythonhosted.org/packages/b3/25/17ec34a956721c77e40604343f434232f293fcce938a134244fde9ef446c/tensorcircuit_ng-1.0.0-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit-ng/) 2024-08-30T12:34:24,859 Found link https://files.pythonhosted.org/packages/81/ae/05d661d0d8232456fc530146b014feff1613cba0d8a68769622a0b724725/tensorcircuit_ng-1.0.0.tar.gz (from https://pypi.org/simple/tensorcircuit-ng/), version: 1.0.0 2024-08-30T12:34:24,859 Fetching project page and analyzing links: https://www.piwheels.org/simple/tensorcircuit-ng/ 2024-08-30T12:34:24,860 Getting page https://www.piwheels.org/simple/tensorcircuit-ng/ 2024-08-30T12:34:24,861 Found index url https://www.piwheels.org/simple/ 2024-08-30T12:34:24,904 Fetched page https://www.piwheels.org/simple/tensorcircuit-ng/ as text/html 2024-08-30T12:34:24,905 Skipping link: not a file: https://www.piwheels.org/simple/tensorcircuit-ng/ 2024-08-30T12:34:24,905 Skipping link: not a file: https://pypi.org/simple/tensorcircuit-ng/ 2024-08-30T12:34:24,929 Given no hashes to check 1 links for project 'tensorcircuit-ng': discarding no candidates 2024-08-30T12:34:24,931 Collecting tensorcircuit-ng==1.0.0 2024-08-30T12:34:24,934 Created temporary directory: /tmp/pip-unpack-grn6dt4e 2024-08-30T12:34:25,032 Downloading tensorcircuit_ng-1.0.0.tar.gz (343 kB) 2024-08-30T12:34:25,444 Added tensorcircuit-ng==1.0.0 from https://files.pythonhosted.org/packages/81/ae/05d661d0d8232456fc530146b014feff1613cba0d8a68769622a0b724725/tensorcircuit_ng-1.0.0.tar.gz to build tracker '/tmp/pip-build-tracker-gn1orp46' 2024-08-30T12:34:25,445 Running setup.py (path:/tmp/pip-wheel-srgu4ln7/tensorcircuit-ng_0e5d073931e7474ea7712b51d275abf8/setup.py) egg_info for package tensorcircuit-ng 2024-08-30T12:34:25,446 Created temporary directory: /tmp/pip-pip-egg-info-cakcdzhr 2024-08-30T12:34:25,446 Preparing metadata (setup.py): started 2024-08-30T12:34:25,447 Running command python setup.py egg_info 2024-08-30T12:34:26,331 Traceback (most recent call last): 2024-08-30T12:34:26,332 File "", line 2, in 2024-08-30T12:34:26,332 File "", line 34, in 2024-08-30T12:34:26,332 File "/tmp/pip-wheel-srgu4ln7/tensorcircuit-ng_0e5d073931e7474ea7712b51d275abf8/setup.py", line 3, in 2024-08-30T12:34:26,333 from tensorcircuit import __version__, __author__ 2024-08-30T12:34:26,333 File "/tmp/pip-wheel-srgu4ln7/tensorcircuit-ng_0e5d073931e7474ea7712b51d275abf8/tensorcircuit/__init__.py", line 10, in 2024-08-30T12:34:26,333 from .cons import ( 2024-08-30T12:34:26,333 File "/tmp/pip-wheel-srgu4ln7/tensorcircuit-ng_0e5d073931e7474ea7712b51d275abf8/tensorcircuit/cons.py", line 16, in 2024-08-30T12:34:26,333 import opt_einsum 2024-08-30T12:34:26,334 ModuleNotFoundError: No module named 'opt_einsum' 2024-08-30T12:34:26,407 ERROR: python setup.py egg_info exited with 1 2024-08-30T12:34:26,424 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2024-08-30T12:34:26,424 exec(compile('"'"''"'"''"'"' 2024-08-30T12:34:26,424 # This is -- a caller that pip uses to run setup.py 2024-08-30T12:34:26,424 # 2024-08-30T12:34:26,424 # - It imports setuptools before invoking setup.py, to enable projects that directly 2024-08-30T12:34:26,424 # import from `distutils.core` to work with newer packaging standards. 2024-08-30T12:34:26,424 # - It provides a clear error message when setuptools is not installed. 2024-08-30T12:34:26,424 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2024-08-30T12:34:26,424 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2024-08-30T12:34:26,424 # manifest_maker: standard file '"'"'-c'"'"' not found". 2024-08-30T12:34:26,424 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2024-08-30T12:34:26,424 import os, sys, tokenize 2024-08-30T12:34:26,424 2024-08-30T12:34:26,424 try: 2024-08-30T12:34:26,424 import setuptools 2024-08-30T12:34:26,424 except ImportError as error: 2024-08-30T12:34:26,424 print( 2024-08-30T12:34:26,424 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2024-08-30T12:34:26,424 "the build environment.", 2024-08-30T12:34:26,424 file=sys.stderr, 2024-08-30T12:34:26,424 ) 2024-08-30T12:34:26,424 sys.exit(1) 2024-08-30T12:34:26,424 2024-08-30T12:34:26,424 __file__ = %r 2024-08-30T12:34:26,424 sys.argv[0] = __file__ 2024-08-30T12:34:26,424 2024-08-30T12:34:26,424 if os.path.exists(__file__): 2024-08-30T12:34:26,424 filename = __file__ 2024-08-30T12:34:26,424 with tokenize.open(__file__) as f: 2024-08-30T12:34:26,424 setup_py_code = f.read() 2024-08-30T12:34:26,424 else: 2024-08-30T12:34:26,424 filename = "" 2024-08-30T12:34:26,424 setup_py_code = "from setuptools import setup; setup()" 2024-08-30T12:34:26,424 2024-08-30T12:34:26,424 exec(compile(setup_py_code, filename, "exec")) 2024-08-30T12:34:26,424 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-srgu4ln7/tensorcircuit-ng_0e5d073931e7474ea7712b51d275abf8/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-cakcdzhr[/] 2024-08-30T12:34:26,424 [bold magenta]cwd[/]: /tmp/pip-wheel-srgu4ln7/tensorcircuit-ng_0e5d073931e7474ea7712b51d275abf8/ 2024-08-30T12:34:26,425 Preparing metadata (setup.py): finished with status 'error' 2024-08-30T12:34:26,426 ERROR: metadata generation failed 2024-08-30T12:34:26,432 Exception information: 2024-08-30T12:34:26,432 Traceback (most recent call last): 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2024-08-30T12:34:26,432 call_subprocess( 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess 2024-08-30T12:34:26,432 raise error 2024-08-30T12:34:26,432 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2024-08-30T12:34:26,432 2024-08-30T12:34:26,432 The above exception was the direct cause of the following exception: 2024-08-30T12:34:26,432 2024-08-30T12:34:26,432 Traceback (most recent call last): 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2024-08-30T12:34:26,432 status = _inner_run() 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2024-08-30T12:34:26,432 return self.run(options, args) 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 67, in wrapper 2024-08-30T12:34:26,432 return func(self, options, args) 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2024-08-30T12:34:26,432 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve 2024-08-30T12:34:26,432 result = self._result = resolver.resolve( 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2024-08-30T12:34:26,432 state = resolution.resolve(requirements, max_rounds=max_rounds) 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2024-08-30T12:34:26,432 self._add_to_criteria(self.state.criteria, r, parent=None) 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2024-08-30T12:34:26,432 if not criterion.candidates: 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2024-08-30T12:34:26,432 return bool(self._sequence) 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 174, in __bool__ 2024-08-30T12:34:26,432 return any(self) 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 162, in 2024-08-30T12:34:26,432 return (c for c in iterator if id(c) not in self._incompatible_ids) 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 53, in _iter_built 2024-08-30T12:34:26,432 candidate = func() 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 186, in _make_candidate_from_link 2024-08-30T12:34:26,432 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 232, in _make_base_candidate_from_link 2024-08-30T12:34:26,432 self._link_candidate_cache[link] = LinkCandidate( 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 303, in __init__ 2024-08-30T12:34:26,432 super().__init__( 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 158, in __init__ 2024-08-30T12:34:26,432 self.dist = self._prepare() 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 235, in _prepare 2024-08-30T12:34:26,432 dist = self._prepare_distribution() 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 314, in _prepare_distribution 2024-08-30T12:34:26,432 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 527, in prepare_linked_requirement 2024-08-30T12:34:26,432 return self._prepare_linked_requirement(req, parallel_builds) 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 642, in _prepare_linked_requirement 2024-08-30T12:34:26,432 dist = _get_prepared_distribution( 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 72, in _get_prepared_distribution 2024-08-30T12:34:26,432 abstract_dist.prepare_distribution_metadata( 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/distributions/sdist.py", line 69, in prepare_distribution_metadata 2024-08-30T12:34:26,432 self.req.prepare_metadata() 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/req/req_install.py", line 581, in prepare_metadata 2024-08-30T12:34:26,432 self.metadata_directory = generate_metadata_legacy( 2024-08-30T12:34:26,432 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2024-08-30T12:34:26,432 raise MetadataGenerationFailed(package_details=details) from error 2024-08-30T12:34:26,432 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2024-08-30T12:34:26,441 Removed tensorcircuit-ng==1.0.0 from https://files.pythonhosted.org/packages/81/ae/05d661d0d8232456fc530146b014feff1613cba0d8a68769622a0b724725/tensorcircuit_ng-1.0.0.tar.gz from build tracker '/tmp/pip-build-tracker-gn1orp46' 2024-08-30T12:34:26,441 Removed build tracker: '/tmp/pip-build-tracker-gn1orp46'