2023-09-11T12:32:09,420 Created temporary directory: /tmp/pip-build-tracker-prbrrw74 2023-09-11T12:32:09,421 Initialized build tracking at /tmp/pip-build-tracker-prbrrw74 2023-09-11T12:32:09,421 Created build tracker: /tmp/pip-build-tracker-prbrrw74 2023-09-11T12:32:09,422 Entered build tracker: /tmp/pip-build-tracker-prbrrw74 2023-09-11T12:32:09,423 Created temporary directory: /tmp/pip-wheel-6wuxr_ei 2023-09-11T12:32:09,426 Created temporary directory: /tmp/pip-ephem-wheel-cache-bi23qrrg 2023-09-11T12:32:09,448 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-11T12:32:09,451 2 location(s) to search for versions of qulacs-gpu: 2023-09-11T12:32:09,451 * https://pypi.org/simple/qulacs-gpu/ 2023-09-11T12:32:09,451 * https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T12:32:09,452 Fetching project page and analyzing links: https://pypi.org/simple/qulacs-gpu/ 2023-09-11T12:32:09,453 Getting page https://pypi.org/simple/qulacs-gpu/ 2023-09-11T12:32:09,455 Found index url https://pypi.org/simple/ 2023-09-11T12:32:09,726 Fetched page https://pypi.org/simple/qulacs-gpu/ as application/vnd.pypi.simple.v1+json 2023-09-11T12:32:09,729 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-11T12:32:09,730 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-11T12:32:09,730 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-11T12:32:09,731 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-11T12:32:09,732 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-11T12:32:09,732 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-11T12:32:09,733 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-11T12:32:09,734 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-11T12:32:09,734 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-11T12:32:09,735 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-11T12:32:09,736 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-11T12:32:09,736 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-11T12:32:09,737 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-11T12:32:09,738 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-11T12:32:09,739 Fetching project page and analyzing links: https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T12:32:09,739 Getting page https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T12:32:09,740 Found index url https://www.piwheels.org/simple/ 2023-09-11T12:32:10,043 Fetched page https://www.piwheels.org/simple/qulacs-gpu/ as text/html 2023-09-11T12:32:10,044 Skipping link: not a file: https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T12:32:10,044 Skipping link: not a file: https://pypi.org/simple/qulacs-gpu/ 2023-09-11T12:32:10,064 Given no hashes to check 1 links for project 'qulacs-gpu': discarding no candidates 2023-09-11T12:32:10,082 Collecting qulacs-gpu==0.1.3 2023-09-11T12:32:10,085 Created temporary directory: /tmp/pip-unpack-2oen88g2 2023-09-11T12:32:10,302 Downloading Qulacs-GPU-0.1.3.tar.gz (193 kB) 2023-09-11T12:32:10,652 Added qulacs-gpu==0.1.3 from https://files.pythonhosted.org/packages/23/de/d41f3c4fbfc4723a3c4a254be413e2782a6c30b070a8788a73cc857c4a39/Qulacs-GPU-0.1.3.tar.gz to build tracker '/tmp/pip-build-tracker-prbrrw74' 2023-09-11T12:32:10,654 Running setup.py (path:/tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/setup.py) egg_info for package qulacs-gpu 2023-09-11T12:32:10,655 Created temporary directory: /tmp/pip-pip-egg-info-nzv3kxtc 2023-09-11T12:32:10,655 Preparing metadata (setup.py): started 2023-09-11T12:32:10,657 Running command python setup.py egg_info 2023-09-11T12:32:11,231 running egg_info 2023-09-11T12:32:11,234 creating /tmp/pip-pip-egg-info-nzv3kxtc/Qulacs_GPU.egg-info 2023-09-11T12:32:11,253 writing /tmp/pip-pip-egg-info-nzv3kxtc/Qulacs_GPU.egg-info/PKG-INFO 2023-09-11T12:32:11,255 writing dependency_links to /tmp/pip-pip-egg-info-nzv3kxtc/Qulacs_GPU.egg-info/dependency_links.txt 2023-09-11T12:32:11,257 writing top-level names to /tmp/pip-pip-egg-info-nzv3kxtc/Qulacs_GPU.egg-info/top_level.txt 2023-09-11T12:32:11,259 writing manifest file '/tmp/pip-pip-egg-info-nzv3kxtc/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-11T12:32:11,297 reading manifest file '/tmp/pip-pip-egg-info-nzv3kxtc/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-11T12:32:11,298 reading manifest template 'MANIFEST.in' 2023-09-11T12:32:11,355 adding license file 'LICENSE' 2023-09-11T12:32:11,360 writing manifest file '/tmp/pip-pip-egg-info-nzv3kxtc/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-11T12:32:11,435 Preparing metadata (setup.py): finished with status 'done' 2023-09-11T12:32:11,439 Source in /tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced has version 0.1.3, which satisfies requirement qulacs-gpu==0.1.3 from https://files.pythonhosted.org/packages/23/de/d41f3c4fbfc4723a3c4a254be413e2782a6c30b070a8788a73cc857c4a39/Qulacs-GPU-0.1.3.tar.gz 2023-09-11T12:32:11,440 Removed qulacs-gpu==0.1.3 from https://files.pythonhosted.org/packages/23/de/d41f3c4fbfc4723a3c4a254be413e2782a6c30b070a8788a73cc857c4a39/Qulacs-GPU-0.1.3.tar.gz from build tracker '/tmp/pip-build-tracker-prbrrw74' 2023-09-11T12:32:11,444 Created temporary directory: /tmp/pip-unpack-_o0_cowd 2023-09-11T12:32:11,445 Created temporary directory: /tmp/pip-unpack-c4cn10zp 2023-09-11T12:32:11,448 Building wheels for collected packages: qulacs-gpu 2023-09-11T12:32:11,452 Created temporary directory: /tmp/pip-wheel-finpb3r1 2023-09-11T12:32:11,452 Building wheel for qulacs-gpu (setup.py): started 2023-09-11T12:32:11,454 Destination directory: /tmp/pip-wheel-finpb3r1 2023-09-11T12:32:11,454 Running command python setup.py bdist_wheel 2023-09-11T12:32:12,266 running bdist_wheel 2023-09-11T12:32:12,322 running build 2023-09-11T12:32:12,323 running build_ext 2023-09-11T12:32:12,368 /tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/setup.py:29: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T12:32:12,369 cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1)) 2023-09-11T12:32:12,374 /tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/setup.py:52: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T12:32:12,374 gcc_version = LooseVersion(gcc_out) 2023-09-11T12:32:12,379 /tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/setup.py:54: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T12:32:12,379 gxx_version = LooseVersion(gxx_out) 2023-09-11T12:32:12,380 /tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/setup.py:58: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T12:32:12,380 if(gcc_version >= LooseVersion('7.0.0')): 2023-09-11T12:32:12,381 /tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/setup.py:62: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T12:32:12,381 if(gxx_version >= LooseVersion('7.0.0')): 2023-09-11T12:32:12,422 CMake Warning (dev) in CMakeLists.txt: 2023-09-11T12:32:12,423 No project() command is present. The top-level CMakeLists.txt file must 2023-09-11T12:32:12,423 contain a literal, direct call to the project() command. Add a line of 2023-09-11T12:32:12,424 code such as 2023-09-11T12:32:12,425 project(ProjectName) 2023-09-11T12:32:12,426 near the top of the file, but after cmake_minimum_required(). 2023-09-11T12:32:12,427 CMake is pretending there is a "project(Project)" command on the first 2023-09-11T12:32:12,427 line. 2023-09-11T12:32:12,428 This warning is for project developers. Use -Wno-dev to suppress it. 2023-09-11T12:32:12,700 -- The C compiler identification is GNU 12.2.0 2023-09-11T12:32:13,023 -- The CXX compiler identification is GNU 12.2.0 2023-09-11T12:32:13,077 -- Detecting C compiler ABI info 2023-09-11T12:32:13,506 -- Detecting C compiler ABI info - done 2023-09-11T12:32:13,554 -- Check for working C compiler: /usr/bin/gcc - skipped 2023-09-11T12:32:13,556 -- Detecting C compile features 2023-09-11T12:32:13,558 -- Detecting C compile features - done 2023-09-11T12:32:13,579 -- Detecting CXX compiler ABI info 2023-09-11T12:32:14,003 -- Detecting CXX compiler ABI info - done 2023-09-11T12:32:14,054 -- Check for working CXX compiler: /usr/bin/g++ - skipped 2023-09-11T12:32:14,055 -- Detecting CXX compile features 2023-09-11T12:32:14,058 -- Detecting CXX compile features - done 2023-09-11T12:32:14,065 CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): 2023-09-11T12:32:14,065 Compatibility with CMake < 2.8.12 will be removed from a future version of 2023-09-11T12:32:14,066 CMake. 2023-09-11T12:32:14,067 Update the VERSION argument value or use a ... suffix to tell 2023-09-11T12:32:14,067 CMake that the project does not need compatibility with older versions. 2023-09-11T12:32:14,069 -- USE_OMP = Yes 2023-09-11T12:32:14,070 -- USE_GPU = Yes 2023-09-11T12:32:14,070 -- USE_TEST = Yes 2023-09-11T12:32:14,071 -- USE_PYTHON = Yes 2023-09-11T12:32:14,247 CMake Warning (dev) at /usr/share/cmake-3.25/Modules/ExternalProject.cmake:3075 (message): 2023-09-11T12:32:14,248 The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is 2023-09-11T12:32:14,249 not set. The policy's OLD behavior will be used. When using a URL 2023-09-11T12:32:14,249 download, the timestamps of extracted files should preferably be that of 2023-09-11T12:32:14,250 the time of extraction, otherwise code that depends on the extracted 2023-09-11T12:32:14,250 contents might not be rebuilt if the URL changes. The OLD behavior 2023-09-11T12:32:14,251 preserves the timestamps from the archive instead, but this is usually not 2023-09-11T12:32:14,252 what you want. Update your project to the NEW behavior or specify the 2023-09-11T12:32:14,252 DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this 2023-09-11T12:32:14,253 robustness issue. 2023-09-11T12:32:14,253 Call Stack (most recent call first): 2023-09-11T12:32:14,254 /usr/share/cmake-3.25/Modules/ExternalProject.cmake:4185 (_ep_add_download_command) 2023-09-11T12:32:14,254 CMakeLists.txt:58 (ExternalProject_Add) 2023-09-11T12:32:14,255 This warning is for project developers. Use -Wno-dev to suppress it. 2023-09-11T12:32:14,302 -- Fetch googletest for C++ testing 2023-09-11T12:32:15,155 [ 11%] Creating directories for 'googletest_fetch-populate' 2023-09-11T12:32:15,156 [ 22%] Performing download step (git clone) for 'googletest_fetch-populate' 2023-09-11T12:32:15,157 Cloning into 'googletest_fetch-src'... 2023-09-11T12:32:15,157 fatal: transport 'https' not allowed 2023-09-11T12:32:15,157 Cloning into 'googletest_fetch-src'... 2023-09-11T12:32:15,158 fatal: transport 'https' not allowed 2023-09-11T12:32:15,158 Cloning into 'googletest_fetch-src'... 2023-09-11T12:32:15,159 fatal: transport 'https' not allowed 2023-09-11T12:32:15,159 -- Had to git clone more than once: 3 times. 2023-09-11T12:32:15,160 CMake Error at googletest_fetch-subbuild/googletest_fetch-populate-prefix/tmp/googletest_fetch-populate-gitclone.cmake:39 (message): 2023-09-11T12:32:15,160 Failed to clone repository: 'https://github.com/google/googletest' 2023-09-11T12:32:15,162 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-11T12:32:15,162 gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/googletest_fetch-populate.dir/all] Error 2 2023-09-11T12:32:15,163 gmake: *** [Makefile:91: all] Error 2 2023-09-11T12:32:15,165 CMake Error at FetchContent.cmake:798 (message): 2023-09-11T12:32:15,166 Build step for googletest_fetch failed: 2 2023-09-11T12:32:15,166 Call Stack (most recent call first): 2023-09-11T12:32:15,167 FetchContent.cmake:889 (__FetchContent_directPopulate) 2023-09-11T12:32:15,168 CMakeLists.txt:82 (FetchContent_Populate) 2023-09-11T12:32:15,170 -- Configuring incomplete, errors occurred! 2023-09-11T12:32:15,171 See also "/tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/build/temp.linux-armv7l-cpython-311/CMakeFiles/CMakeOutput.log". 2023-09-11T12:32:15,173 Traceback (most recent call last): 2023-09-11T12:32:15,174 File "", line 2, in 2023-09-11T12:32:15,174 File "", line 34, in 2023-09-11T12:32:15,175 File "/tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/setup.py", line 78, in 2023-09-11T12:32:15,175 setup( 2023-09-11T12:32:15,176 File "/usr/local/lib/python3.11/dist-packages/setuptools/__init__.py", line 107, in setup 2023-09-11T12:32:15,176 return distutils.core.setup(**attrs) 2023-09-11T12:32:15,177 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T12:32:15,177 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 185, in setup 2023-09-11T12:32:15,178 return run_commands(dist) 2023-09-11T12:32:15,179 ^^^^^^^^^^^^^^^^^^ 2023-09-11T12:32:15,179 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands 2023-09-11T12:32:15,180 dist.run_commands() 2023-09-11T12:32:15,180 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands 2023-09-11T12:32:15,181 self.run_command(cmd) 2023-09-11T12:32:15,181 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1233, in run_command 2023-09-11T12:32:15,182 super().run_command(command) 2023-09-11T12:32:15,183 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T12:32:15,183 cmd_obj.run() 2023-09-11T12:32:15,184 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 325, in run 2023-09-11T12:32:15,184 self.run_command("build") 2023-09-11T12:32:15,185 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-11T12:32:15,185 self.distribution.run_command(command) 2023-09-11T12:32:15,186 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1233, in run_command 2023-09-11T12:32:15,186 super().run_command(command) 2023-09-11T12:32:15,187 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T12:32:15,187 cmd_obj.run() 2023-09-11T12:32:15,187 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build.py", line 131, in run 2023-09-11T12:32:15,188 self.run_command(cmd_name) 2023-09-11T12:32:15,188 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-11T12:32:15,189 self.distribution.run_command(command) 2023-09-11T12:32:15,189 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1233, in run_command 2023-09-11T12:32:15,190 super().run_command(command) 2023-09-11T12:32:15,190 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T12:32:15,191 cmd_obj.run() 2023-09-11T12:32:15,192 File "/tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/setup.py", line 31, in run 2023-09-11T12:32:15,193 self.build_extension(ext) 2023-09-11T12:32:15,193 File "/tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/setup.py", line 75, in build_extension 2023-09-11T12:32:15,194 subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env) 2023-09-11T12:32:15,195 File "/usr/lib/python3.11/subprocess.py", line 413, in check_call 2023-09-11T12:32:15,196 raise CalledProcessError(retcode, cmd) 2023-09-11T12:32:15,196 subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/build/lib.linux-armv7l-cpython-311', '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/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-11T12:32:15,280 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-11T12:32:15,293 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-11T12:32:15,293 exec(compile('"'"''"'"''"'"' 2023-09-11T12:32:15,293 # This is -- a caller that pip uses to run setup.py 2023-09-11T12:32:15,293 # 2023-09-11T12:32:15,293 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-11T12:32:15,293 # import from `distutils.core` to work with newer packaging standards. 2023-09-11T12:32:15,293 # - It provides a clear error message when setuptools is not installed. 2023-09-11T12:32:15,293 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-11T12:32:15,293 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-11T12:32:15,293 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-11T12:32:15,293 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-11T12:32:15,293 import os, sys, tokenize 2023-09-11T12:32:15,293 2023-09-11T12:32:15,293 try: 2023-09-11T12:32:15,293 import setuptools 2023-09-11T12:32:15,293 except ImportError as error: 2023-09-11T12:32:15,293 print( 2023-09-11T12:32:15,293 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-11T12:32:15,293 "the build environment.", 2023-09-11T12:32:15,293 file=sys.stderr, 2023-09-11T12:32:15,293 ) 2023-09-11T12:32:15,293 sys.exit(1) 2023-09-11T12:32:15,293 2023-09-11T12:32:15,293 __file__ = %r 2023-09-11T12:32:15,293 sys.argv[0] = __file__ 2023-09-11T12:32:15,293 2023-09-11T12:32:15,293 if os.path.exists(__file__): 2023-09-11T12:32:15,293 filename = __file__ 2023-09-11T12:32:15,293 with tokenize.open(__file__) as f: 2023-09-11T12:32:15,293 setup_py_code = f.read() 2023-09-11T12:32:15,293 else: 2023-09-11T12:32:15,293 filename = "" 2023-09-11T12:32:15,293 setup_py_code = "from setuptools import setup; setup()" 2023-09-11T12:32:15,293 2023-09-11T12:32:15,293 exec(compile(setup_py_code, filename, "exec")) 2023-09-11T12:32:15,293 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-finpb3r1[/] 2023-09-11T12:32:15,294 [bold magenta]cwd[/]: /tmp/pip-wheel-6wuxr_ei/qulacs-gpu_1073f9086fc04d569794fe021077cced/ 2023-09-11T12:32:15,295 Building wheel for qulacs-gpu (setup.py): finished with status 'error' 2023-09-11T12:32:15,297 ERROR: Failed building wheel for qulacs-gpu 2023-09-11T12:32:15,298 Running setup.py clean for qulacs-gpu 2023-09-11T12:32:15,299 Running command python setup.py clean 2023-09-11T12:32:15,825 running clean 2023-09-11T12:32:15,861 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-11T12:32:15,887 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-11T12:32:15,887 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-11T12:32:15,888 'build/scripts-3.11' does not exist -- can't clean it 2023-09-11T12:32:15,888 removing 'build' 2023-09-11T12:32:15,961 Failed to build qulacs-gpu 2023-09-11T12:32:15,962 ERROR: Failed to build one or more wheels 2023-09-11T12:32:15,963 Exception information: 2023-09-11T12:32:15,963 Traceback (most recent call last): 2023-09-11T12:32:15,963 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-11T12:32:15,963 status = run_func(*args) 2023-09-11T12:32:15,963 ^^^^^^^^^^^^^^^ 2023-09-11T12:32:15,963 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-11T12:32:15,963 return func(self, options, args) 2023-09-11T12:32:15,963 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T12:32:15,963 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-11T12:32:15,963 raise CommandError("Failed to build one or more wheels") 2023-09-11T12:32:15,963 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-11T12:32:15,966 Removed build tracker: '/tmp/pip-build-tracker-prbrrw74'