2025-09-10T08:45:46,291 Created temporary directory: /tmp/pip-build-tracker-4fxhnpv6 2025-09-10T08:45:46,292 Initialized build tracking at /tmp/pip-build-tracker-4fxhnpv6 2025-09-10T08:45:46,292 Created build tracker: /tmp/pip-build-tracker-4fxhnpv6 2025-09-10T08:45:46,292 Entered build tracker: /tmp/pip-build-tracker-4fxhnpv6 2025-09-10T08:45:46,293 Created temporary directory: /tmp/pip-wheel-7r0nmiua 2025-09-10T08:45:46,296 Created temporary directory: /tmp/pip-ephem-wheel-cache-83njafyk 2025-09-10T08:45:46,355 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-10T08:45:46,357 2 location(s) to search for versions of tensorcircuit: 2025-09-10T08:45:46,357 * https://pypi.org/simple/tensorcircuit/ 2025-09-10T08:45:46,357 * https://www.piwheels.org/simple/tensorcircuit/ 2025-09-10T08:45:46,357 Fetching project page and analyzing links: https://pypi.org/simple/tensorcircuit/ 2025-09-10T08:45:46,358 Getting page https://pypi.org/simple/tensorcircuit/ 2025-09-10T08:45:46,359 Found index url https://pypi.org/simple/ 2025-09-10T08:45:46,511 Fetched page https://pypi.org/simple/tensorcircuit/ as application/vnd.pypi.simple.v1+json 2025-09-10T08:45:46,526 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/ff/e6/f5acc9c43764baa5a44cb784589698263f992672f497f1462942895f5335/tensorcircuit-0.0.1-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,526 Found link https://files.pythonhosted.org/packages/60/1f/041c3c6e1afdd654542fad8697fbddd3921b36e7f4513bcb12f0be51df26/tensorcircuit-0.0.1.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.0.1 2025-09-10T08:45:46,527 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/9d/12/29a43dcd6d8ccbc127dc088c0e8226787b4d694d92cf682f635e6ce7108c/tensorcircuit-0.0.220311-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,527 Found link https://files.pythonhosted.org/packages/6e/10/edefc6b2e998cd5516e862e938764039bde02b298c369f077643119adcc3/tensorcircuit-0.0.220311.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.0.220311 2025-09-10T08:45:46,527 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/d5/f0/c3fda35ed5b0a0f8de139aec3eb6ebb3c13321fca0fad7de633a1d615775/tensorcircuit-0.0.220318-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,528 Found link https://files.pythonhosted.org/packages/1d/d4/326cdea5091af0c31ca20ebfbdc4c6fd6ce6488b10335ca182501fea2544/tensorcircuit-0.0.220318.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.0.220318 2025-09-10T08:45:46,528 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/86/c2/44a1671681cfccab2d104f5d91ee90d318ee2b28abad9fa77a696f35cd43/tensorcircuit-0.0.220328-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,529 Found link https://files.pythonhosted.org/packages/0e/e3/d20237789b52c450a7dd212fcf772618fb5dc350b43bb82f795a78d6b2de/tensorcircuit-0.0.220328.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.0.220328 2025-09-10T08:45:46,529 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/fc/37/35b4c81ace28d1085db95f01b950fe8f86db3afe188bed292958e0e4b4f7/tensorcircuit-0.0.220402-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,529 Found link https://files.pythonhosted.org/packages/90/51/8e4509bda71f098e68326d03f71e44b0c7d3ce2420327e24b98a17b78733/tensorcircuit-0.0.220402.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.0.220402 2025-09-10T08:45:46,530 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/24/ba/d8299452acf1409951779c304aa971edba9c31edc45155f3c280dfae5890/tensorcircuit-0.0.220413-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,530 Found link https://files.pythonhosted.org/packages/7a/56/1edf2505ce7c51757654955e7f6578d189a6d28f69f00478d0b06bb039ce/tensorcircuit-0.0.220413.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.0.220413 2025-09-10T08:45:46,531 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/3c/46/7551bd58cc9d545a4b654ae4e3ad07dd94e541c657d88d5a9cabcb181513/tensorcircuit-0.0.220509-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,531 Found link https://files.pythonhosted.org/packages/9b/fb/c3c4e268fd2b63a1548c39286ce55d80439fcbb2998de2b48679020b39c9/tensorcircuit-0.0.220509.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.0.220509 2025-09-10T08:45:46,531 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/da/6e/02682af9d1490881f2aa2539a94ade21302aeb6f0b77906df5773e7fd9df/tensorcircuit-0.1.0-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,532 Found link https://files.pythonhosted.org/packages/b6/5c/a2608f18f7db6d176e2f55baed2db8c7b5fc5ceee9ca018b7666612074a5/tensorcircuit-0.1.0.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.1.0 2025-09-10T08:45:46,532 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/d9/10/18c63341d5cf383a7167cd4c59beea757c994973facd752301560a782b3e/tensorcircuit-0.1.1-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,533 Found link https://files.pythonhosted.org/packages/41/4f/1224d7cbdd95c02e53d9dffa2a20c367ff829a7b52830af44e82c1383c9a/tensorcircuit-0.1.1.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.1.1 2025-09-10T08:45:46,533 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/d1/33/3314caec24844841542567f43a6bddac8d204f48a0b8d4f3f48e8c4a5e6d/tensorcircuit-0.1.2-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,534 Found link https://files.pythonhosted.org/packages/a0/13/421598d093bd186ec967913e13b4d99985d20a2ed0a922f1f0be18cb62ba/tensorcircuit-0.1.2.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.1.2 2025-09-10T08:45:46,534 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/2c/b9/351b32c9268f64f7832d5ec73233eca69dfd9dd571191e2f705a914c81ec/tensorcircuit-0.1.3-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,534 Found link https://files.pythonhosted.org/packages/46/b0/2933ef032141d1e41d8e5b2731af9b734bc7b1c2304bf28cd202c16f2a4a/tensorcircuit-0.1.3.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.1.3 2025-09-10T08:45:46,535 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/7a/78/a0353c9887c5b6b8de98e3b9910341db490c6a960db9376317b46e5dbee2/tensorcircuit-0.2.0-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,535 Found link https://files.pythonhosted.org/packages/02/a6/892d33924df0830170805f7c6da60b7b522530d65a5bd75e9d568e755a6d/tensorcircuit-0.2.0.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.2.0 2025-09-10T08:45:46,535 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/02/30/096940eedfde707ca874a502d7c0ab500d708356970d80e88540fa24b8a5/tensorcircuit-0.2.1-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,535 Found link https://files.pythonhosted.org/packages/07/71/f1cba49d73bf1d335a4dd1bfff58b0831448c306b2ad3a9d70ffec759654/tensorcircuit-0.2.1.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.2.1 2025-09-10T08:45:46,535 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/08/0f/6a83aeb530dd154c784cbc46e730714570aff3a84564efd289b88cfd4139/tensorcircuit-0.2.2-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,535 Found link https://files.pythonhosted.org/packages/0d/0f/64eaa7c7c19984fb3f6c90bed9a78cd36c07b720aa3835394ffcdc0607c4/tensorcircuit-0.2.2.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.2.2 2025-09-10T08:45:46,536 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/2e/eb/1dac550ddca6f2b592a7d89d91e7683b94f2386bea6af921b9d6efc26c98/tensorcircuit-0.3.0-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,536 Found link https://files.pythonhosted.org/packages/af/60/1cc1790245d7ea53841cbcc67cda81de07420e93862a6ba2d4c872926637/tensorcircuit-0.3.0.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.3.0 2025-09-10T08:45:46,536 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/9f/c9/3bc89b16cddb2b29c9b6d0be281831be430ce97d237b5ee83b56deb1fd36/tensorcircuit-0.3.1-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,536 Found link https://files.pythonhosted.org/packages/9c/20/44d64dc4ba3b9adadaa743b2fdd8ac906b88dd01fc82dce6638926229666/tensorcircuit-0.3.1.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.3.1 2025-09-10T08:45:46,536 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/3f/6c/af437069481b7a2440119f2b84eb01dcc7a92d812c5c322fbf8b77fcd376/tensorcircuit-0.4.0-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,536 Found link https://files.pythonhosted.org/packages/3f/ae/caeb145b61b6c5a8a02a869f47be1980d2accf65372fea141b618945ea3d/tensorcircuit-0.4.0.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.4.0 2025-09-10T08:45:46,537 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/c6/5e/c265fcc2b26ad19b024671425ebeb93843b865275518dabd1faf72950992/tensorcircuit-0.4.1-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,537 Found link https://files.pythonhosted.org/packages/f7/31/a53bc39bc5c95a3a484d50ae32415f3bd2ea897f4e525d7377d6864492eb/tensorcircuit-0.4.1.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.4.1 2025-09-10T08:45:46,537 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/6f/d1/58fb8616aaddeca5b484dcad708051580c247d51409f662bedd89c12c0fb/tensorcircuit-0.5.0-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,537 Found link https://files.pythonhosted.org/packages/3b/1a/73426a4036d240b3a42fdbace9901890851a2485445e29713614af05190d/tensorcircuit-0.5.0.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.5.0 2025-09-10T08:45:46,537 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/95/a6/606662f3743fe704e271a746b2fe71efb8ec086903cf0ec9ca561048c8c2/tensorcircuit-0.6.0-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,537 Found link https://files.pythonhosted.org/packages/9e/bf/ae0d00e5151b02882a1dca09770982a5b6c7e1bbeb35ebf4b4f9d85f7d50/tensorcircuit-0.6.0.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.6.0 2025-09-10T08:45:46,537 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/0f/6f/a42be2023be56285eb781c9ecdebb40dbb6515c1677721bb8afc3056473e/tensorcircuit-0.7.0-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,538 Found link https://files.pythonhosted.org/packages/de/6e/7fcf99929d5ef21fa8367593f54fe7c56ca96ed77c21b1009f87541dcea8/tensorcircuit-0.7.0.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.7.0 2025-09-10T08:45:46,538 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/4b/13/63c77aafcd76cc3e9d7046c16a7bbdda07d853036a151ce5c81525b8df33/tensorcircuit-0.8.0-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,538 Found link https://files.pythonhosted.org/packages/45/94/68d107b79aa727769d3d4fbc1e5124d9aeb8e6c7bfeae88a411f8a93c5be/tensorcircuit-0.8.0.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.8.0 2025-09-10T08:45:46,538 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/82/f2/c7e7f2193033c38415a536e4f26ceefb71506410cc1a851034bb22f48049/tensorcircuit-0.9.0-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,538 Found link https://files.pythonhosted.org/packages/5f/b3/61ddd3daf0cbb7bb56a068bcea6e0f32202138733d38ecd51cd298a38e66/tensorcircuit-0.9.0.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.9.0 2025-09-10T08:45:46,538 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/d1/67/1ffb1d900758bd9b739b0e95747d0a519caa3dca7941f6d47f4d63d9c609/tensorcircuit-0.9.1-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,539 Found link https://files.pythonhosted.org/packages/a5/a1/c407d88d8298b0d83094dfe565b7a9eefa55b0b84968134e0b3119e34244/tensorcircuit-0.9.1.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.9.1 2025-09-10T08:45:46,539 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/b9/d3/ef8451c668226c9b565e5e8ca64b0224290150e182f3b62f6d573132e30d/tensorcircuit-0.10.0-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,539 Found link https://files.pythonhosted.org/packages/80/8d/7f8da5fb9b87588282e35e259aa4e5e4a694fcfdfb90481dd6ba21c66bb6/tensorcircuit-0.10.0.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.10.0 2025-09-10T08:45:46,539 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/b1/8c/4aea3d5859a8bed498f7bd1e0c9b5c90bec9a98d287b176b178d4c977f60/tensorcircuit-0.11.0-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,539 Found link https://files.pythonhosted.org/packages/fd/0a/9a5fd408d2b5cb234e5bc04492f09d593cdd31186f0a0b2a4d54fd996136/tensorcircuit-0.11.0.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.11.0 2025-09-10T08:45:46,539 Skipping link: No binaries permitted for tensorcircuit: https://files.pythonhosted.org/packages/0e/83/154c13cfc3a21f50887dc0e3bd217603b6fc067b0dff18fc045c644a5c84/tensorcircuit-0.12.0-py3-none-any.whl (from https://pypi.org/simple/tensorcircuit/) 2025-09-10T08:45:46,539 Found link https://files.pythonhosted.org/packages/64/e9/ae03ebd3a1cee2ca9395b364d086b072a8adec95ca26482c2cab05af49d4/tensorcircuit-0.12.0.tar.gz (from https://pypi.org/simple/tensorcircuit/), version: 0.12.0 2025-09-10T08:45:46,540 Fetching project page and analyzing links: https://www.piwheels.org/simple/tensorcircuit/ 2025-09-10T08:45:46,540 Getting page https://www.piwheels.org/simple/tensorcircuit/ 2025-09-10T08:45:46,541 Found index url https://www.piwheels.org/simple/ 2025-09-10T08:45:46,640 Fetched page https://www.piwheels.org/simple/tensorcircuit/ as text/html 2025-09-10T08:45:46,641 Skipping link: No binaries permitted for tensorcircuit: https://archive1.piwheels.org/simple/tensorcircuit/tensorcircuit-0.0.1-py3-none-any.whl#sha256=bdc91ece34cc96bfd8e67b0c50b75e308b154b0b8d6c94783682bc295b216d89 (from https://www.piwheels.org/simple/tensorcircuit/) 2025-09-10T08:45:46,641 Skipping link: not a file: https://www.piwheels.org/simple/tensorcircuit/ 2025-09-10T08:45:46,642 Skipping link: not a file: https://pypi.org/simple/tensorcircuit/ 2025-09-10T08:45:46,671 Given no hashes to check 1 links for project 'tensorcircuit': discarding no candidates 2025-09-10T08:45:46,672 Collecting tensorcircuit==0.0.220311 2025-09-10T08:45:46,674 Created temporary directory: /tmp/pip-unpack-vw067dfg 2025-09-10T08:45:46,814 Downloading tensorcircuit-0.0.220311.tar.gz (176 kB) 2025-09-10T08:45:46,936 Added tensorcircuit==0.0.220311 from https://files.pythonhosted.org/packages/6e/10/edefc6b2e998cd5516e862e938764039bde02b298c369f077643119adcc3/tensorcircuit-0.0.220311.tar.gz to build tracker '/tmp/pip-build-tracker-4fxhnpv6' 2025-09-10T08:45:46,937 Running setup.py (path:/tmp/pip-wheel-7r0nmiua/tensorcircuit_a411b5e4ef09439facd78c8d1ac63f83/setup.py) egg_info for package tensorcircuit 2025-09-10T08:45:46,938 Created temporary directory: /tmp/pip-pip-egg-info-d48unyxy 2025-09-10T08:45:46,938 Preparing metadata (setup.py): started 2025-09-10T08:45:46,939 Running command python setup.py egg_info 2025-09-10T08:45:47,692 Traceback (most recent call last): 2025-09-10T08:45:47,693 File "", line 2, in 2025-09-10T08:45:47,694 exec(compile(''' 2025-09-10T08:45:47,694 ~~~~^^^^^^^^^^^^ 2025-09-10T08:45:47,694 # This is -- a caller that pip uses to run setup.py 2025-09-10T08:45:47,694 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,694 ...<32 lines>... 2025-09-10T08:45:47,694 exec(compile(setup_py_code, filename, "exec")) 2025-09-10T08:45:47,694 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,694 ''' % ('/tmp/pip-wheel-7r0nmiua/tensorcircuit_a411b5e4ef09439facd78c8d1ac63f83/setup.py',), "", "exec")) 2025-09-10T08:45:47,694 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,695 File "", line 35, in 2025-09-10T08:45:47,695 File "/tmp/pip-wheel-7r0nmiua/tensorcircuit_a411b5e4ef09439facd78c8d1ac63f83/setup.py", line 2, in 2025-09-10T08:45:47,695 from tensorcircuit import __version__, __author__ 2025-09-10T08:45:47,695 File "/tmp/pip-wheel-7r0nmiua/tensorcircuit_a411b5e4ef09439facd78c8d1ac63f83/tensorcircuit/__init__.py", line 4, in 2025-09-10T08:45:47,695 from .cons import ( 2025-09-10T08:45:47,695 ^^^^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,695 ...<9 lines>... 2025-09-10T08:45:47,695 ) # prerun of set hooks 2025-09-10T08:45:47,696 ^ 2025-09-10T08:45:47,696 File "/tmp/pip-wheel-7r0nmiua/tensorcircuit_a411b5e4ef09439facd78c8d1ac63f83/tensorcircuit/cons.py", line 14, in 2025-09-10T08:45:47,696 import opt_einsum 2025-09-10T08:45:47,696 ModuleNotFoundError: No module named 'opt_einsum' 2025-09-10T08:45:47,803 ERROR: python setup.py egg_info exited with 1 2025-09-10T08:45:47,815 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2025-09-10T08:45:47,815 exec(compile('"'"''"'"''"'"' 2025-09-10T08:45:47,815 # This is -- a caller that pip uses to run setup.py 2025-09-10T08:45:47,815 # 2025-09-10T08:45:47,815 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-10T08:45:47,815 # import from `distutils.core` to work with newer packaging standards. 2025-09-10T08:45:47,815 # - It provides a clear error message when setuptools is not installed. 2025-09-10T08:45:47,815 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-10T08:45:47,815 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-10T08:45:47,815 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-10T08:45:47,815 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-10T08:45:47,815 import os, sys, tokenize, traceback 2025-09-10T08:45:47,815 2025-09-10T08:45:47,815 try: 2025-09-10T08:45:47,815 import setuptools 2025-09-10T08:45:47,815 except ImportError: 2025-09-10T08:45:47,815 print( 2025-09-10T08:45:47,815 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-10T08:45:47,815 "the build environment with exception:", 2025-09-10T08:45:47,815 file=sys.stderr, 2025-09-10T08:45:47,815 ) 2025-09-10T08:45:47,815 traceback.print_exc() 2025-09-10T08:45:47,815 sys.exit(1) 2025-09-10T08:45:47,815 2025-09-10T08:45:47,815 __file__ = %r 2025-09-10T08:45:47,815 sys.argv[0] = __file__ 2025-09-10T08:45:47,815 2025-09-10T08:45:47,815 if os.path.exists(__file__): 2025-09-10T08:45:47,815 filename = __file__ 2025-09-10T08:45:47,815 with tokenize.open(__file__) as f: 2025-09-10T08:45:47,815 setup_py_code = f.read() 2025-09-10T08:45:47,815 else: 2025-09-10T08:45:47,815 filename = "" 2025-09-10T08:45:47,815 setup_py_code = "from setuptools import setup; setup()" 2025-09-10T08:45:47,815 2025-09-10T08:45:47,815 exec(compile(setup_py_code, filename, "exec")) 2025-09-10T08:45:47,815 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-7r0nmiua/tensorcircuit_a411b5e4ef09439facd78c8d1ac63f83/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-d48unyxy[/] 2025-09-10T08:45:47,815 [bold magenta]cwd[/]: /tmp/pip-wheel-7r0nmiua/tensorcircuit_a411b5e4ef09439facd78c8d1ac63f83/ 2025-09-10T08:45:47,816 Preparing metadata (setup.py): finished with status 'error' 2025-09-10T08:45:47,817 ERROR: metadata generation failed 2025-09-10T08:45:47,823 Exception information: 2025-09-10T08:45:47,823 Traceback (most recent call last): 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 63, in generate_metadata 2025-09-10T08:45:47,823 call_subprocess( 2025-09-10T08:45:47,823 ~~~~~~~~~~~~~~~^ 2025-09-10T08:45:47,823 args, 2025-09-10T08:45:47,823 ^^^^^ 2025-09-10T08:45:47,823 ...<2 lines>... 2025-09-10T08:45:47,823 spinner=spinner, 2025-09-10T08:45:47,823 ^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,823 ) 2025-09-10T08:45:47,823 ^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess 2025-09-10T08:45:47,823 raise error 2025-09-10T08:45:47,823 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2025-09-10T08:45:47,823 2025-09-10T08:45:47,823 The above exception was the direct cause of the following exception: 2025-09-10T08:45:47,823 2025-09-10T08:45:47,823 Traceback (most recent call last): 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-10T08:45:47,823 status = _inner_run() 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-10T08:45:47,823 return self.run(options, args) 2025-09-10T08:45:47,823 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-10T08:45:47,823 return func(self, options, args) 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2025-09-10T08:45:47,823 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve 2025-09-10T08:45:47,823 result = self._result = resolver.resolve( 2025-09-10T08:45:47,823 ~~~~~~~~~~~~~~~~^ 2025-09-10T08:45:47,823 collected.requirements, max_rounds=limit_how_complex_resolution_can_be 2025-09-10T08:45:47,823 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,823 ) 2025-09-10T08:45:47,823 ^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve 2025-09-10T08:45:47,823 state = resolution.resolve(requirements, max_rounds=max_rounds) 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve 2025-09-10T08:45:47,823 self._add_to_criteria(self.state.criteria, r, parent=None) 2025-09-10T08:45:47,823 ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria 2025-09-10T08:45:47,823 if not criterion.candidates: 2025-09-10T08:45:47,823 ^^^^^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__ 2025-09-10T08:45:47,823 return bool(self._sequence) 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__ 2025-09-10T08:45:47,823 self._bool = any(self) 2025-09-10T08:45:47,823 ~~~^^^^^^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in 2025-09-10T08:45:47,823 return (c for c in iterator if id(c) not in self._incompatible_ids) 2025-09-10T08:45:47,823 ^^^^^^^^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built 2025-09-10T08:45:47,823 candidate = func() 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link 2025-09-10T08:45:47,823 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2025-09-10T08:45:47,823 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-10T08:45:47,823 link, template, name, version 2025-09-10T08:45:47,823 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,823 ) 2025-09-10T08:45:47,823 ^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link 2025-09-10T08:45:47,823 self._link_candidate_cache[link] = LinkCandidate( 2025-09-10T08:45:47,823 ~~~~~~~~~~~~~^ 2025-09-10T08:45:47,823 link, 2025-09-10T08:45:47,823 ^^^^^ 2025-09-10T08:45:47,823 ...<3 lines>... 2025-09-10T08:45:47,823 version=version, 2025-09-10T08:45:47,823 ^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,823 ) 2025-09-10T08:45:47,823 ^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__ 2025-09-10T08:45:47,823 super().__init__( 2025-09-10T08:45:47,823 ~~~~~~~~~~~~~~~~^ 2025-09-10T08:45:47,823 link=link, 2025-09-10T08:45:47,823 ^^^^^^^^^^ 2025-09-10T08:45:47,823 ...<4 lines>... 2025-09-10T08:45:47,823 version=version, 2025-09-10T08:45:47,823 ^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,823 ) 2025-09-10T08:45:47,823 ^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__ 2025-09-10T08:45:47,823 self.dist = self._prepare() 2025-09-10T08:45:47,823 ~~~~~~~~~~~~~^^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare 2025-09-10T08:45:47,823 dist = self._prepare_distribution() 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution 2025-09-10T08:45:47,823 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2025-09-10T08:45:47,823 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement 2025-09-10T08:45:47,823 return self._prepare_linked_requirement(req, parallel_builds) 2025-09-10T08:45:47,823 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement 2025-09-10T08:45:47,823 dist = _get_prepared_distribution( 2025-09-10T08:45:47,823 req, 2025-09-10T08:45:47,823 ...<3 lines>... 2025-09-10T08:45:47,823 self.check_build_deps, 2025-09-10T08:45:47,823 ) 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2025-09-10T08:45:47,823 abstract_dist.prepare_distribution_metadata( 2025-09-10T08:45:47,823 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-10T08:45:47,823 finder, build_isolation, check_build_deps 2025-09-10T08:45:47,823 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,823 ) 2025-09-10T08:45:47,823 ^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/distributions/sdist.py", line 69, in prepare_distribution_metadata 2025-09-10T08:45:47,823 self.req.prepare_metadata() 2025-09-10T08:45:47,823 ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 581, in prepare_metadata 2025-09-10T08:45:47,823 self.metadata_directory = generate_metadata_legacy( 2025-09-10T08:45:47,823 ~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-10T08:45:47,823 build_env=self.build_env, 2025-09-10T08:45:47,823 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,823 ...<3 lines>... 2025-09-10T08:45:47,823 details=details, 2025-09-10T08:45:47,823 ^^^^^^^^^^^^^^^^ 2025-09-10T08:45:47,823 ) 2025-09-10T08:45:47,823 ^ 2025-09-10T08:45:47,823 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 70, in generate_metadata 2025-09-10T08:45:47,823 raise MetadataGenerationFailed(package_details=details) from error 2025-09-10T08:45:47,823 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2025-09-10T08:45:47,847 Removed tensorcircuit==0.0.220311 from https://files.pythonhosted.org/packages/6e/10/edefc6b2e998cd5516e862e938764039bde02b298c369f077643119adcc3/tensorcircuit-0.0.220311.tar.gz from build tracker '/tmp/pip-build-tracker-4fxhnpv6' 2025-09-10T08:45:47,847 Removed build tracker: '/tmp/pip-build-tracker-4fxhnpv6'