2023-09-13T05:03:11,632 Created temporary directory: /tmp/pip-build-tracker-iu_t84oh 2023-09-13T05:03:11,633 Initialized build tracking at /tmp/pip-build-tracker-iu_t84oh 2023-09-13T05:03:11,634 Created build tracker: /tmp/pip-build-tracker-iu_t84oh 2023-09-13T05:03:11,634 Entered build tracker: /tmp/pip-build-tracker-iu_t84oh 2023-09-13T05:03:11,635 Created temporary directory: /tmp/pip-wheel-dp58xpj5 2023-09-13T05:03:11,638 Created temporary directory: /tmp/pip-ephem-wheel-cache-lx19ulnh 2023-09-13T05:03:11,659 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-13T05:03:11,663 2 location(s) to search for versions of qulacs-gpu: 2023-09-13T05:03:11,663 * https://pypi.org/simple/qulacs-gpu/ 2023-09-13T05:03:11,663 * https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-13T05:03:11,664 Fetching project page and analyzing links: https://pypi.org/simple/qulacs-gpu/ 2023-09-13T05:03:11,664 Getting page https://pypi.org/simple/qulacs-gpu/ 2023-09-13T05:03:11,666 Found index url https://pypi.org/simple/ 2023-09-13T05:03:11,931 Fetched page https://pypi.org/simple/qulacs-gpu/ as application/vnd.pypi.simple.v1+json 2023-09-13T05:03:11,934 Found link https://files.pythonhosted.org/packages/c2/05/1e8e1dadb05a57f5f2148cdaba3bb58a5649f1f879a5afd95cf73d3de79c/Qulacs-GPU-0.1.0.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.1.0 2023-09-13T05:03:11,935 Found link https://files.pythonhosted.org/packages/23/de/d41f3c4fbfc4723a3c4a254be413e2782a6c30b070a8788a73cc857c4a39/Qulacs-GPU-0.1.3.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.1.3 2023-09-13T05:03:11,936 Found link https://files.pythonhosted.org/packages/ed/6b/60fa83fe30715366cc58e884f7c41833770578b235814ade9b88c7777829/Qulacs-GPU-0.1.4.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.1.4 2023-09-13T05:03:11,936 Found link https://files.pythonhosted.org/packages/fc/1e/69a6c4dc76adb9e0a1f69924a3f72666fb1c9210f1c4576798feb69c61b2/Qulacs-GPU-0.1.4.1.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.1.4.1 2023-09-13T05:03:11,937 Found link https://files.pythonhosted.org/packages/47/65/7072034ad89a883a9c341f175ccfe0ebf27bb32494c1d13e404bca32a96d/Qulacs-GPU-0.1.5.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.1.5 2023-09-13T05:03:11,938 Found link https://files.pythonhosted.org/packages/3e/9e/42abea8e9a010e9276b1e7337ae3e754ee3bc5a1f4d9f104789932a48fc9/Qulacs-GPU-0.1.6.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.1.6 2023-09-13T05:03:11,939 Found link https://files.pythonhosted.org/packages/45/c4/5dd98168561cda27cb5f9d78c8c6e4418a0c5ac6bb00dfe06ddb1c18b61c/Qulacs-GPU-0.1.7.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.1.7 2023-09-13T05:03:11,939 Found link https://files.pythonhosted.org/packages/f0/13/993b3390d5f431233010fa668b509847675d56a3b304d4605ee31768252b/Qulacs-GPU-0.1.8.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.1.8 2023-09-13T05:03:11,940 Found link https://files.pythonhosted.org/packages/d0/59/cb6505707bfc76a8d4a039dc779fc3de70a6b5428a4016423a5b072422f1/Qulacs-GPU-0.1.9.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.1.9 2023-09-13T05:03:11,941 Found link https://files.pythonhosted.org/packages/05/10/bb48f60faf1cd9bd63daa2c49d5e6596fc6072d29d9a07ec380ca0fac05a/Qulacs-GPU-0.1.10.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.1.10 2023-09-13T05:03:11,942 Found link https://files.pythonhosted.org/packages/22/ce/602ed2e9fc637608c55947ba82025c5526038b3a70c48709bc81dc7d3340/Qulacs-GPU-0.1.10.1.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.1.10.1 2023-09-13T05:03:11,942 Found link https://files.pythonhosted.org/packages/f0/2a/b6e34393074d184eb251ccafd0c5f76d65f213d1ffe156197d10c69b80bd/Qulacs-GPU-0.2.0.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.2.0 2023-09-13T05:03:11,943 Found link https://files.pythonhosted.org/packages/cc/e6/bd83a900570a1dc94f1e61d75d59835a01c14600448ac48a9e251fc70e29/Qulacs-GPU-0.3.0.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.3.0 2023-09-13T05:03:11,944 Found link https://files.pythonhosted.org/packages/23/a2/6fca76d22de5f85ed3707cfeb47b09cc5b4a5edaf7af930b32f17257fa95/Qulacs-GPU-0.3.1.tar.gz (from https://pypi.org/simple/qulacs-gpu/), version: 0.3.1 2023-09-13T05:03:11,945 Fetching project page and analyzing links: https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-13T05:03:11,946 Getting page https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-13T05:03:11,947 Found index url https://www.piwheels.org/simple/ 2023-09-13T05:03:12,551 Fetched page https://www.piwheels.org/simple/qulacs-gpu/ as text/html 2023-09-13T05:03:12,553 Skipping link: not a file: https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-13T05:03:12,554 Skipping link: not a file: https://pypi.org/simple/qulacs-gpu/ 2023-09-13T05:03:12,601 Given no hashes to check 1 links for project 'qulacs-gpu': discarding no candidates 2023-09-13T05:03:12,635 Collecting qulacs-gpu==0.2.0 2023-09-13T05:03:12,637 Created temporary directory: /tmp/pip-unpack-ybiiokwl 2023-09-13T05:03:12,861 Downloading Qulacs-GPU-0.2.0.tar.gz (206 kB) 2023-09-13T05:03:13,327 Added qulacs-gpu==0.2.0 from https://files.pythonhosted.org/packages/f0/2a/b6e34393074d184eb251ccafd0c5f76d65f213d1ffe156197d10c69b80bd/Qulacs-GPU-0.2.0.tar.gz to build tracker '/tmp/pip-build-tracker-iu_t84oh' 2023-09-13T05:03:13,328 Running setup.py (path:/tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/setup.py) egg_info for package qulacs-gpu 2023-09-13T05:03:13,329 Created temporary directory: /tmp/pip-pip-egg-info-9a31h_l4 2023-09-13T05:03:13,330 Preparing metadata (setup.py): started 2023-09-13T05:03:13,331 Running command python setup.py egg_info 2023-09-13T05:03:14,335 running egg_info 2023-09-13T05:03:14,336 creating /tmp/pip-pip-egg-info-9a31h_l4/Qulacs_GPU.egg-info 2023-09-13T05:03:14,360 writing /tmp/pip-pip-egg-info-9a31h_l4/Qulacs_GPU.egg-info/PKG-INFO 2023-09-13T05:03:14,363 writing dependency_links to /tmp/pip-pip-egg-info-9a31h_l4/Qulacs_GPU.egg-info/dependency_links.txt 2023-09-13T05:03:14,365 writing top-level names to /tmp/pip-pip-egg-info-9a31h_l4/Qulacs_GPU.egg-info/top_level.txt 2023-09-13T05:03:14,366 writing manifest file '/tmp/pip-pip-egg-info-9a31h_l4/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-13T05:03:14,416 reading manifest file '/tmp/pip-pip-egg-info-9a31h_l4/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-13T05:03:14,417 reading manifest template 'MANIFEST.in' 2023-09-13T05:03:14,510 writing manifest file '/tmp/pip-pip-egg-info-9a31h_l4/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-13T05:03:14,617 Preparing metadata (setup.py): finished with status 'done' 2023-09-13T05:03:14,620 Source in /tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9 has version 0.2.0, which satisfies requirement qulacs-gpu==0.2.0 from https://files.pythonhosted.org/packages/f0/2a/b6e34393074d184eb251ccafd0c5f76d65f213d1ffe156197d10c69b80bd/Qulacs-GPU-0.2.0.tar.gz 2023-09-13T05:03:14,621 Removed qulacs-gpu==0.2.0 from https://files.pythonhosted.org/packages/f0/2a/b6e34393074d184eb251ccafd0c5f76d65f213d1ffe156197d10c69b80bd/Qulacs-GPU-0.2.0.tar.gz from build tracker '/tmp/pip-build-tracker-iu_t84oh' 2023-09-13T05:03:14,625 Created temporary directory: /tmp/pip-unpack-qntwr2p0 2023-09-13T05:03:14,626 Created temporary directory: /tmp/pip-unpack-jlnjsyzx 2023-09-13T05:03:14,628 Building wheels for collected packages: qulacs-gpu 2023-09-13T05:03:14,632 Created temporary directory: /tmp/pip-wheel-ay3x6swn 2023-09-13T05:03:14,633 Building wheel for qulacs-gpu (setup.py): started 2023-09-13T05:03:14,634 Destination directory: /tmp/pip-wheel-ay3x6swn 2023-09-13T05:03:14,634 Running command python setup.py bdist_wheel 2023-09-13T05:03:15,608 running bdist_wheel 2023-09-13T05:03:15,679 running build 2023-09-13T05:03:15,679 running build_ext 2023-09-13T05:03:15,723 /tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/setup.py:48: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-13T05:03:15,724 cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1)) 2023-09-13T05:03:15,728 /tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/setup.py:18: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-13T05:03:15,729 version = LooseVersion(out) 2023-09-13T05:03:15,730 /tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/setup.py:19: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-13T05:03:15,730 return version >= LooseVersion('7.0.0') 2023-09-13T05:03:15,734 /tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/setup.py:18: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-13T05:03:15,735 version = LooseVersion(out) 2023-09-13T05:03:15,735 /tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/setup.py:19: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-13T05:03:15,736 return version >= LooseVersion('7.0.0') 2023-09-13T05:03:15,776 CMake Warning (dev) in CMakeLists.txt: 2023-09-13T05:03:15,777 No project() command is present. The top-level CMakeLists.txt file must 2023-09-13T05:03:15,777 contain a literal, direct call to the project() command. Add a line of 2023-09-13T05:03:15,778 code such as 2023-09-13T05:03:15,779 project(ProjectName) 2023-09-13T05:03:15,780 near the top of the file, but after cmake_minimum_required(). 2023-09-13T05:03:15,781 CMake is pretending there is a "project(Project)" command on the first 2023-09-13T05:03:15,782 line. 2023-09-13T05:03:15,782 This warning is for project developers. Use -Wno-dev to suppress it. 2023-09-13T05:03:16,045 -- The C compiler identification is GNU 12.2.0 2023-09-13T05:03:16,397 -- The CXX compiler identification is GNU 12.2.0 2023-09-13T05:03:16,450 -- Detecting C compiler ABI info 2023-09-13T05:03:16,811 -- Detecting C compiler ABI info - done 2023-09-13T05:03:16,859 -- Check for working C compiler: /usr/bin/gcc - skipped 2023-09-13T05:03:16,860 -- Detecting C compile features 2023-09-13T05:03:16,863 -- Detecting C compile features - done 2023-09-13T05:03:16,885 -- Detecting CXX compiler ABI info 2023-09-13T05:03:17,340 -- Detecting CXX compiler ABI info - done 2023-09-13T05:03:17,389 -- Check for working CXX compiler: /usr/bin/g++ - skipped 2023-09-13T05:03:17,391 -- Detecting CXX compile features 2023-09-13T05:03:17,394 -- Detecting CXX compile features - done 2023-09-13T05:03:17,400 CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): 2023-09-13T05:03:17,401 Compatibility with CMake < 2.8.12 will be removed from a future version of 2023-09-13T05:03:17,401 CMake. 2023-09-13T05:03:17,402 Update the VERSION argument value or use a ... suffix to tell 2023-09-13T05:03:17,403 CMake that the project does not need compatibility with older versions. 2023-09-13T05:03:17,404 -- USE_SIMD = Yes 2023-09-13T05:03:17,405 -- USE_OMP = Yes 2023-09-13T05:03:17,405 -- USE_GPU = Yes 2023-09-13T05:03:17,406 -- USE_TEST = Yes 2023-09-13T05:03:17,406 -- USE_PYTHON = Yes 2023-09-13T05:03:17,407 -- OPT_FLAGS = -mtune=native -march=native -mfpmath=both 2023-09-13T05:03:17,615 CMake Warning (dev) at /usr/share/cmake-3.25/Modules/ExternalProject.cmake:3075 (message): 2023-09-13T05:03:17,616 The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is 2023-09-13T05:03:17,617 not set. The policy's OLD behavior will be used. When using a URL 2023-09-13T05:03:17,617 download, the timestamps of extracted files should preferably be that of 2023-09-13T05:03:17,618 the time of extraction, otherwise code that depends on the extracted 2023-09-13T05:03:17,618 contents might not be rebuilt if the URL changes. The OLD behavior 2023-09-13T05:03:17,618 preserves the timestamps from the archive instead, but this is usually not 2023-09-13T05:03:17,619 what you want. Update your project to the NEW behavior or specify the 2023-09-13T05:03:17,620 DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this 2023-09-13T05:03:17,620 robustness issue. 2023-09-13T05:03:17,621 Call Stack (most recent call first): 2023-09-13T05:03:17,621 /usr/share/cmake-3.25/Modules/ExternalProject.cmake:4185 (_ep_add_download_command) 2023-09-13T05:03:17,621 CMakeLists.txt:65 (ExternalProject_Add) 2023-09-13T05:03:17,622 This warning is for project developers. Use -Wno-dev to suppress it. 2023-09-13T05:03:17,670 -- Fetch googletest for C++ testing 2023-09-13T05:03:18,513 [ 11%] Creating directories for 'googletest_fetch-populate' 2023-09-13T05:03:18,514 [ 22%] Performing download step (git clone) for 'googletest_fetch-populate' 2023-09-13T05:03:18,515 Cloning into 'googletest_fetch-src'... 2023-09-13T05:03:18,515 fatal: transport 'https' not allowed 2023-09-13T05:03:18,516 Cloning into 'googletest_fetch-src'... 2023-09-13T05:03:18,516 fatal: transport 'https' not allowed 2023-09-13T05:03:18,517 Cloning into 'googletest_fetch-src'... 2023-09-13T05:03:18,517 fatal: transport 'https' not allowed 2023-09-13T05:03:18,518 -- Had to git clone more than once: 3 times. 2023-09-13T05:03:18,518 CMake Error at googletest_fetch-subbuild/googletest_fetch-populate-prefix/tmp/googletest_fetch-populate-gitclone.cmake:39 (message): 2023-09-13T05:03:18,519 Failed to clone repository: 'https://github.com/google/googletest' 2023-09-13T05:03:18,520 gmake[2]: *** [CMakeFiles/googletest_fetch-populate.dir/build.make:102: googletest_fetch-populate-prefix/src/googletest_fetch-populate-stamp/googletest_fetch-populate-download] Error 1 2023-09-13T05:03:18,521 gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/googletest_fetch-populate.dir/all] Error 2 2023-09-13T05:03:18,521 gmake: *** [Makefile:91: all] Error 2 2023-09-13T05:03:18,523 CMake Error at FetchContent.cmake:798 (message): 2023-09-13T05:03:18,524 Build step for googletest_fetch failed: 2 2023-09-13T05:03:18,525 Call Stack (most recent call first): 2023-09-13T05:03:18,526 FetchContent.cmake:889 (__FetchContent_directPopulate) 2023-09-13T05:03:18,527 CMakeLists.txt:88 (FetchContent_Populate) 2023-09-13T05:03:18,529 -- Configuring incomplete, errors occurred! 2023-09-13T05:03:18,529 See also "/tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/build/temp.linux-armv7l-cpython-311/CMakeFiles/CMakeOutput.log". 2023-09-13T05:03:18,531 Traceback (most recent call last): 2023-09-13T05:03:18,532 File "", line 2, in 2023-09-13T05:03:18,532 File "", line 34, in 2023-09-13T05:03:18,533 File "/tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/setup.py", line 111, in 2023-09-13T05:03:18,533 setup( 2023-09-13T05:03:18,534 File "/usr/local/lib/python3.11/dist-packages/setuptools/__init__.py", line 103, in setup 2023-09-13T05:03:18,534 return distutils.core.setup(**attrs) 2023-09-13T05:03:18,535 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-13T05:03:18,536 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 185, in setup 2023-09-13T05:03:18,536 return run_commands(dist) 2023-09-13T05:03:18,537 ^^^^^^^^^^^^^^^^^^ 2023-09-13T05:03:18,537 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands 2023-09-13T05:03:18,538 dist.run_commands() 2023-09-13T05:03:18,539 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands 2023-09-13T05:03:18,539 self.run_command(cmd) 2023-09-13T05:03:18,540 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-13T05:03:18,541 super().run_command(command) 2023-09-13T05:03:18,541 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-13T05:03:18,542 cmd_obj.run() 2023-09-13T05:03:18,542 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 325, in run 2023-09-13T05:03:18,543 self.run_command("build") 2023-09-13T05:03:18,544 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-13T05:03:18,544 self.distribution.run_command(command) 2023-09-13T05:03:18,545 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-13T05:03:18,545 super().run_command(command) 2023-09-13T05:03:18,546 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-13T05:03:18,547 cmd_obj.run() 2023-09-13T05:03:18,548 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build.py", line 131, in run 2023-09-13T05:03:18,549 self.run_command(cmd_name) 2023-09-13T05:03:18,549 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-13T05:03:18,550 self.distribution.run_command(command) 2023-09-13T05:03:18,551 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-13T05:03:18,552 super().run_command(command) 2023-09-13T05:03:18,552 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-13T05:03:18,553 cmd_obj.run() 2023-09-13T05:03:18,554 File "/tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/setup.py", line 50, in run 2023-09-13T05:03:18,555 self.build_extension(ext) 2023-09-13T05:03:18,555 File "/tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/setup.py", line 108, in build_extension 2023-09-13T05:03:18,556 subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env) 2023-09-13T05:03:18,557 File "/usr/lib/python3.11/subprocess.py", line 413, in check_call 2023-09-13T05:03:18,558 raise CalledProcessError(retcode, cmd) 2023-09-13T05:03:18,559 subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/build/lib.linux-armv7l-cpython-311', '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/build/lib.linux-armv7l-cpython-311', '-DPYTHON_EXECUTABLE=/usr/bin/python3', '-DPYTHON_SETUP_FLAG:STR=Yes', '-DCMAKE_C_COMPILER=gcc', '-DCMAKE_CXX_COMPILER=g++', '-DCMAKE_BUILD_TYPE=Release', '-DUSE_GPU:STR=Yes']' returned non-zero exit status 1. 2023-09-13T05:03:18,675 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-13T05:03:18,694 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-13T05:03:18,694 exec(compile('"'"''"'"''"'"' 2023-09-13T05:03:18,694 # This is -- a caller that pip uses to run setup.py 2023-09-13T05:03:18,694 # 2023-09-13T05:03:18,694 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-13T05:03:18,694 # import from `distutils.core` to work with newer packaging standards. 2023-09-13T05:03:18,694 # - It provides a clear error message when setuptools is not installed. 2023-09-13T05:03:18,694 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-13T05:03:18,694 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-13T05:03:18,694 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-13T05:03:18,694 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-13T05:03:18,694 import os, sys, tokenize 2023-09-13T05:03:18,694 2023-09-13T05:03:18,694 try: 2023-09-13T05:03:18,694 import setuptools 2023-09-13T05:03:18,694 except ImportError as error: 2023-09-13T05:03:18,694 print( 2023-09-13T05:03:18,694 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-13T05:03:18,694 "the build environment.", 2023-09-13T05:03:18,694 file=sys.stderr, 2023-09-13T05:03:18,694 ) 2023-09-13T05:03:18,694 sys.exit(1) 2023-09-13T05:03:18,694 2023-09-13T05:03:18,694 __file__ = %r 2023-09-13T05:03:18,694 sys.argv[0] = __file__ 2023-09-13T05:03:18,694 2023-09-13T05:03:18,694 if os.path.exists(__file__): 2023-09-13T05:03:18,694 filename = __file__ 2023-09-13T05:03:18,694 with tokenize.open(__file__) as f: 2023-09-13T05:03:18,694 setup_py_code = f.read() 2023-09-13T05:03:18,694 else: 2023-09-13T05:03:18,694 filename = "" 2023-09-13T05:03:18,694 setup_py_code = "from setuptools import setup; setup()" 2023-09-13T05:03:18,694 2023-09-13T05:03:18,694 exec(compile(setup_py_code, filename, "exec")) 2023-09-13T05:03:18,694 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-ay3x6swn[/] 2023-09-13T05:03:18,695 [bold magenta]cwd[/]: /tmp/pip-wheel-dp58xpj5/qulacs-gpu_6bb79b648f96471689b2585b97851bf9/ 2023-09-13T05:03:18,696 Building wheel for qulacs-gpu (setup.py): finished with status 'error' 2023-09-13T05:03:18,697 ERROR: Failed building wheel for qulacs-gpu 2023-09-13T05:03:18,700 Running setup.py clean for qulacs-gpu 2023-09-13T05:03:18,701 Running command python setup.py clean 2023-09-13T05:03:19,691 running clean 2023-09-13T05:03:19,739 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-13T05:03:19,766 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-13T05:03:19,767 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-13T05:03:19,768 'build/scripts-3.11' does not exist -- can't clean it 2023-09-13T05:03:19,769 removing 'build' 2023-09-13T05:03:19,873 Failed to build qulacs-gpu 2023-09-13T05:03:19,874 ERROR: Failed to build one or more wheels 2023-09-13T05:03:19,876 Exception information: 2023-09-13T05:03:19,876 Traceback (most recent call last): 2023-09-13T05:03:19,876 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-13T05:03:19,876 status = run_func(*args) 2023-09-13T05:03:19,876 ^^^^^^^^^^^^^^^ 2023-09-13T05:03:19,876 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-13T05:03:19,876 return func(self, options, args) 2023-09-13T05:03:19,876 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-13T05:03:19,876 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-13T05:03:19,876 raise CommandError("Failed to build one or more wheels") 2023-09-13T05:03:19,876 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-13T05:03:19,879 Removed build tracker: '/tmp/pip-build-tracker-iu_t84oh'