2023-09-11T23:36:00,425 Created temporary directory: /tmp/pip-build-tracker-dloi4kxl 2023-09-11T23:36:00,426 Initialized build tracking at /tmp/pip-build-tracker-dloi4kxl 2023-09-11T23:36:00,427 Created build tracker: /tmp/pip-build-tracker-dloi4kxl 2023-09-11T23:36:00,428 Entered build tracker: /tmp/pip-build-tracker-dloi4kxl 2023-09-11T23:36:00,428 Created temporary directory: /tmp/pip-wheel-lw1ow905 2023-09-11T23:36:00,432 Created temporary directory: /tmp/pip-ephem-wheel-cache-sb5ncbly 2023-09-11T23:36:00,456 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-11T23:36:00,460 2 location(s) to search for versions of qulacs-gpu: 2023-09-11T23:36:00,460 * https://pypi.org/simple/qulacs-gpu/ 2023-09-11T23:36:00,460 * https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T23:36:00,461 Fetching project page and analyzing links: https://pypi.org/simple/qulacs-gpu/ 2023-09-11T23:36:00,462 Getting page https://pypi.org/simple/qulacs-gpu/ 2023-09-11T23:36:00,463 Found index url https://pypi.org/simple/ 2023-09-11T23:36:00,603 Fetched page https://pypi.org/simple/qulacs-gpu/ as application/vnd.pypi.simple.v1+json 2023-09-11T23:36:00,606 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-11T23:36:00,607 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-11T23:36:00,608 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-11T23:36:00,609 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-11T23:36:00,610 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-11T23:36:00,610 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-11T23:36:00,611 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-11T23:36:00,612 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-11T23:36:00,612 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-11T23:36:00,613 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-11T23:36:00,614 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-11T23:36:00,615 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-11T23:36:00,616 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-11T23:36:00,617 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-11T23:36:00,618 Fetching project page and analyzing links: https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T23:36:00,618 Getting page https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T23:36:00,619 Found index url https://www.piwheels.org/simple/ 2023-09-11T23:36:01,769 Fetched page https://www.piwheels.org/simple/qulacs-gpu/ as text/html 2023-09-11T23:36:01,772 Skipping link: not a file: https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T23:36:01,773 Skipping link: not a file: https://pypi.org/simple/qulacs-gpu/ 2023-09-11T23:36:01,820 Given no hashes to check 1 links for project 'qulacs-gpu': discarding no candidates 2023-09-11T23:36:01,843 Collecting qulacs-gpu==0.1.7 2023-09-11T23:36:01,846 Created temporary directory: /tmp/pip-unpack-sttkzh92 2023-09-11T23:36:02,061 Downloading Qulacs-GPU-0.1.7.tar.gz (214 kB) 2023-09-11T23:36:02,524 Added qulacs-gpu==0.1.7 from https://files.pythonhosted.org/packages/45/c4/5dd98168561cda27cb5f9d78c8c6e4418a0c5ac6bb00dfe06ddb1c18b61c/Qulacs-GPU-0.1.7.tar.gz to build tracker '/tmp/pip-build-tracker-dloi4kxl' 2023-09-11T23:36:02,526 Running setup.py (path:/tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/setup.py) egg_info for package qulacs-gpu 2023-09-11T23:36:02,527 Created temporary directory: /tmp/pip-pip-egg-info-4ps593_n 2023-09-11T23:36:02,528 Preparing metadata (setup.py): started 2023-09-11T23:36:02,529 Running command python setup.py egg_info 2023-09-11T23:36:03,540 running egg_info 2023-09-11T23:36:03,541 creating /tmp/pip-pip-egg-info-4ps593_n/Qulacs_GPU.egg-info 2023-09-11T23:36:03,565 writing /tmp/pip-pip-egg-info-4ps593_n/Qulacs_GPU.egg-info/PKG-INFO 2023-09-11T23:36:03,569 writing dependency_links to /tmp/pip-pip-egg-info-4ps593_n/Qulacs_GPU.egg-info/dependency_links.txt 2023-09-11T23:36:03,571 writing top-level names to /tmp/pip-pip-egg-info-4ps593_n/Qulacs_GPU.egg-info/top_level.txt 2023-09-11T23:36:03,573 writing manifest file '/tmp/pip-pip-egg-info-4ps593_n/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-11T23:36:03,627 reading manifest file '/tmp/pip-pip-egg-info-4ps593_n/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-11T23:36:03,629 reading manifest template 'MANIFEST.in' 2023-09-11T23:36:03,697 adding license file 'LICENSE' 2023-09-11T23:36:03,702 writing manifest file '/tmp/pip-pip-egg-info-4ps593_n/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-11T23:36:03,809 Preparing metadata (setup.py): finished with status 'done' 2023-09-11T23:36:03,813 Source in /tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a has version 0.1.7, which satisfies requirement qulacs-gpu==0.1.7 from https://files.pythonhosted.org/packages/45/c4/5dd98168561cda27cb5f9d78c8c6e4418a0c5ac6bb00dfe06ddb1c18b61c/Qulacs-GPU-0.1.7.tar.gz 2023-09-11T23:36:03,814 Removed qulacs-gpu==0.1.7 from https://files.pythonhosted.org/packages/45/c4/5dd98168561cda27cb5f9d78c8c6e4418a0c5ac6bb00dfe06ddb1c18b61c/Qulacs-GPU-0.1.7.tar.gz from build tracker '/tmp/pip-build-tracker-dloi4kxl' 2023-09-11T23:36:03,818 Created temporary directory: /tmp/pip-unpack-m9guvzfn 2023-09-11T23:36:03,819 Created temporary directory: /tmp/pip-unpack-q4omcoe8 2023-09-11T23:36:03,822 Building wheels for collected packages: qulacs-gpu 2023-09-11T23:36:03,826 Created temporary directory: /tmp/pip-wheel-crnwm138 2023-09-11T23:36:03,827 Building wheel for qulacs-gpu (setup.py): started 2023-09-11T23:36:03,828 Destination directory: /tmp/pip-wheel-crnwm138 2023-09-11T23:36:03,828 Running command python setup.py bdist_wheel 2023-09-11T23:36:04,828 running bdist_wheel 2023-09-11T23:36:04,900 running build 2023-09-11T23:36:04,900 running build_ext 2023-09-11T23:36:04,946 /tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/setup.py:29: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T23:36:04,947 cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1)) 2023-09-11T23:36:04,952 /tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/setup.py:52: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T23:36:04,953 gcc_version = LooseVersion(gcc_out) 2023-09-11T23:36:04,957 /tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/setup.py:54: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T23:36:04,958 gxx_version = LooseVersion(gxx_out) 2023-09-11T23:36:04,958 /tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/setup.py:58: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T23:36:04,959 if(gcc_version >= LooseVersion('7.0.0')): 2023-09-11T23:36:04,959 /tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/setup.py:62: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T23:36:04,959 if(gxx_version >= LooseVersion('7.0.0')): 2023-09-11T23:36:05,001 CMake Warning (dev) in CMakeLists.txt: 2023-09-11T23:36:05,002 No project() command is present. The top-level CMakeLists.txt file must 2023-09-11T23:36:05,002 contain a literal, direct call to the project() command. Add a line of 2023-09-11T23:36:05,002 code such as 2023-09-11T23:36:05,003 project(ProjectName) 2023-09-11T23:36:05,004 near the top of the file, but after cmake_minimum_required(). 2023-09-11T23:36:05,006 CMake is pretending there is a "project(Project)" command on the first 2023-09-11T23:36:05,006 line. 2023-09-11T23:36:05,007 This warning is for project developers. Use -Wno-dev to suppress it. 2023-09-11T23:36:05,277 -- The C compiler identification is GNU 12.2.0 2023-09-11T23:36:05,627 -- The CXX compiler identification is GNU 12.2.0 2023-09-11T23:36:05,681 -- Detecting C compiler ABI info 2023-09-11T23:36:06,054 -- Detecting C compiler ABI info - done 2023-09-11T23:36:06,102 -- Check for working C compiler: /usr/bin/gcc - skipped 2023-09-11T23:36:06,104 -- Detecting C compile features 2023-09-11T23:36:06,107 -- Detecting C compile features - done 2023-09-11T23:36:06,129 -- Detecting CXX compiler ABI info 2023-09-11T23:36:06,598 -- Detecting CXX compiler ABI info - done 2023-09-11T23:36:06,649 -- Check for working CXX compiler: /usr/bin/g++ - skipped 2023-09-11T23:36:06,651 -- Detecting CXX compile features 2023-09-11T23:36:06,654 -- Detecting CXX compile features - done 2023-09-11T23:36:06,661 CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): 2023-09-11T23:36:06,661 Compatibility with CMake < 2.8.12 will be removed from a future version of 2023-09-11T23:36:06,662 CMake. 2023-09-11T23:36:06,663 Update the VERSION argument value or use a ... suffix to tell 2023-09-11T23:36:06,664 CMake that the project does not need compatibility with older versions. 2023-09-11T23:36:06,665 -- USE_OMP = Yes 2023-09-11T23:36:06,666 -- USE_GPU = Yes 2023-09-11T23:36:06,666 -- USE_TEST = Yes 2023-09-11T23:36:06,667 -- USE_PYTHON = Yes 2023-09-11T23:36:06,884 CMake Warning (dev) at /usr/share/cmake-3.25/Modules/ExternalProject.cmake:3075 (message): 2023-09-11T23:36:06,885 The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is 2023-09-11T23:36:06,886 not set. The policy's OLD behavior will be used. When using a URL 2023-09-11T23:36:06,886 download, the timestamps of extracted files should preferably be that of 2023-09-11T23:36:06,887 the time of extraction, otherwise code that depends on the extracted 2023-09-11T23:36:06,887 contents might not be rebuilt if the URL changes. The OLD behavior 2023-09-11T23:36:06,888 preserves the timestamps from the archive instead, but this is usually not 2023-09-11T23:36:06,889 what you want. Update your project to the NEW behavior or specify the 2023-09-11T23:36:06,889 DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this 2023-09-11T23:36:06,890 robustness issue. 2023-09-11T23:36:06,890 Call Stack (most recent call first): 2023-09-11T23:36:06,891 /usr/share/cmake-3.25/Modules/ExternalProject.cmake:4185 (_ep_add_download_command) 2023-09-11T23:36:06,891 CMakeLists.txt:58 (ExternalProject_Add) 2023-09-11T23:36:06,892 This warning is for project developers. Use -Wno-dev to suppress it. 2023-09-11T23:36:06,942 -- Fetch googletest for C++ testing 2023-09-11T23:36:07,842 [ 11%] Creating directories for 'googletest_fetch-populate' 2023-09-11T23:36:07,843 [ 22%] Performing download step (git clone) for 'googletest_fetch-populate' 2023-09-11T23:36:07,844 Cloning into 'googletest_fetch-src'... 2023-09-11T23:36:07,844 fatal: transport 'https' not allowed 2023-09-11T23:36:07,845 Cloning into 'googletest_fetch-src'... 2023-09-11T23:36:07,846 fatal: transport 'https' not allowed 2023-09-11T23:36:07,847 Cloning into 'googletest_fetch-src'... 2023-09-11T23:36:07,847 fatal: transport 'https' not allowed 2023-09-11T23:36:07,848 -- Had to git clone more than once: 3 times. 2023-09-11T23:36:07,849 CMake Error at googletest_fetch-subbuild/googletest_fetch-populate-prefix/tmp/googletest_fetch-populate-gitclone.cmake:39 (message): 2023-09-11T23:36:07,850 Failed to clone repository: 'https://github.com/google/googletest' 2023-09-11T23:36:07,857 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-11T23:36:07,858 gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/googletest_fetch-populate.dir/all] Error 2 2023-09-11T23:36:07,859 gmake: *** [Makefile:91: all] Error 2 2023-09-11T23:36:07,861 CMake Error at FetchContent.cmake:798 (message): 2023-09-11T23:36:07,862 Build step for googletest_fetch failed: 2 2023-09-11T23:36:07,862 Call Stack (most recent call first): 2023-09-11T23:36:07,863 FetchContent.cmake:889 (__FetchContent_directPopulate) 2023-09-11T23:36:07,864 CMakeLists.txt:82 (FetchContent_Populate) 2023-09-11T23:36:07,867 -- Configuring incomplete, errors occurred! 2023-09-11T23:36:07,867 See also "/tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/build/temp.linux-armv7l-cpython-311/CMakeFiles/CMakeOutput.log". 2023-09-11T23:36:07,875 Traceback (most recent call last): 2023-09-11T23:36:07,876 File "", line 2, in 2023-09-11T23:36:07,877 File "", line 34, in 2023-09-11T23:36:07,877 File "/tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/setup.py", line 78, in 2023-09-11T23:36:07,878 setup( 2023-09-11T23:36:07,879 File "/usr/local/lib/python3.11/dist-packages/setuptools/__init__.py", line 103, in setup 2023-09-11T23:36:07,880 return distutils.core.setup(**attrs) 2023-09-11T23:36:07,881 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T23:36:07,881 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 185, in setup 2023-09-11T23:36:07,882 return run_commands(dist) 2023-09-11T23:36:07,883 ^^^^^^^^^^^^^^^^^^ 2023-09-11T23:36:07,884 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands 2023-09-11T23:36:07,884 dist.run_commands() 2023-09-11T23:36:07,885 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands 2023-09-11T23:36:07,886 self.run_command(cmd) 2023-09-11T23:36:07,887 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-11T23:36:07,887 super().run_command(command) 2023-09-11T23:36:07,888 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T23:36:07,889 cmd_obj.run() 2023-09-11T23:36:07,889 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 325, in run 2023-09-11T23:36:07,890 self.run_command("build") 2023-09-11T23:36:07,891 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-11T23:36:07,892 self.distribution.run_command(command) 2023-09-11T23:36:07,893 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-11T23:36:07,893 super().run_command(command) 2023-09-11T23:36:07,894 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T23:36:07,895 cmd_obj.run() 2023-09-11T23:36:07,896 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build.py", line 131, in run 2023-09-11T23:36:07,897 self.run_command(cmd_name) 2023-09-11T23:36:07,897 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-11T23:36:07,898 self.distribution.run_command(command) 2023-09-11T23:36:07,899 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-11T23:36:07,900 super().run_command(command) 2023-09-11T23:36:07,900 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T23:36:07,901 cmd_obj.run() 2023-09-11T23:36:07,902 File "/tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/setup.py", line 31, in run 2023-09-11T23:36:07,903 self.build_extension(ext) 2023-09-11T23:36:07,904 File "/tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/setup.py", line 75, in build_extension 2023-09-11T23:36:07,905 subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env) 2023-09-11T23:36:07,906 File "/usr/lib/python3.11/subprocess.py", line 413, in check_call 2023-09-11T23:36:07,907 raise CalledProcessError(retcode, cmd) 2023-09-11T23:36:07,908 subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/build/lib.linux-armv7l-cpython-311', '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/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-11T23:36:08,031 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-11T23:36:08,044 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-11T23:36:08,044 exec(compile('"'"''"'"''"'"' 2023-09-11T23:36:08,044 # This is -- a caller that pip uses to run setup.py 2023-09-11T23:36:08,044 # 2023-09-11T23:36:08,044 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-11T23:36:08,044 # import from `distutils.core` to work with newer packaging standards. 2023-09-11T23:36:08,044 # - It provides a clear error message when setuptools is not installed. 2023-09-11T23:36:08,044 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-11T23:36:08,044 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-11T23:36:08,044 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-11T23:36:08,044 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-11T23:36:08,044 import os, sys, tokenize 2023-09-11T23:36:08,044 2023-09-11T23:36:08,044 try: 2023-09-11T23:36:08,044 import setuptools 2023-09-11T23:36:08,044 except ImportError as error: 2023-09-11T23:36:08,044 print( 2023-09-11T23:36:08,044 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-11T23:36:08,044 "the build environment.", 2023-09-11T23:36:08,044 file=sys.stderr, 2023-09-11T23:36:08,044 ) 2023-09-11T23:36:08,044 sys.exit(1) 2023-09-11T23:36:08,044 2023-09-11T23:36:08,044 __file__ = %r 2023-09-11T23:36:08,044 sys.argv[0] = __file__ 2023-09-11T23:36:08,044 2023-09-11T23:36:08,044 if os.path.exists(__file__): 2023-09-11T23:36:08,044 filename = __file__ 2023-09-11T23:36:08,044 with tokenize.open(__file__) as f: 2023-09-11T23:36:08,044 setup_py_code = f.read() 2023-09-11T23:36:08,044 else: 2023-09-11T23:36:08,044 filename = "" 2023-09-11T23:36:08,044 setup_py_code = "from setuptools import setup; setup()" 2023-09-11T23:36:08,044 2023-09-11T23:36:08,044 exec(compile(setup_py_code, filename, "exec")) 2023-09-11T23:36:08,044 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-crnwm138[/] 2023-09-11T23:36:08,044 [bold magenta]cwd[/]: /tmp/pip-wheel-lw1ow905/qulacs-gpu_8f9b7b149b3247dc90221744475e943a/ 2023-09-11T23:36:08,045 Building wheel for qulacs-gpu (setup.py): finished with status 'error' 2023-09-11T23:36:08,046 ERROR: Failed building wheel for qulacs-gpu 2023-09-11T23:36:08,048 Running setup.py clean for qulacs-gpu 2023-09-11T23:36:08,049 Running command python setup.py clean 2023-09-11T23:36:09,056 running clean 2023-09-11T23:36:09,103 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-11T23:36:09,131 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-11T23:36:09,132 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-11T23:36:09,132 'build/scripts-3.11' does not exist -- can't clean it 2023-09-11T23:36:09,133 removing 'build' 2023-09-11T23:36:09,239 Failed to build qulacs-gpu 2023-09-11T23:36:09,241 ERROR: Failed to build one or more wheels 2023-09-11T23:36:09,242 Exception information: 2023-09-11T23:36:09,242 Traceback (most recent call last): 2023-09-11T23:36:09,242 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-11T23:36:09,242 status = run_func(*args) 2023-09-11T23:36:09,242 ^^^^^^^^^^^^^^^ 2023-09-11T23:36:09,242 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-11T23:36:09,242 return func(self, options, args) 2023-09-11T23:36:09,242 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T23:36:09,242 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-11T23:36:09,242 raise CommandError("Failed to build one or more wheels") 2023-09-11T23:36:09,242 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-11T23:36:09,245 Removed build tracker: '/tmp/pip-build-tracker-dloi4kxl'