2023-09-11T22:06:13,499 Created temporary directory: /tmp/pip-build-tracker-01dfqyl1 2023-09-11T22:06:13,500 Initialized build tracking at /tmp/pip-build-tracker-01dfqyl1 2023-09-11T22:06:13,501 Created build tracker: /tmp/pip-build-tracker-01dfqyl1 2023-09-11T22:06:13,501 Entered build tracker: /tmp/pip-build-tracker-01dfqyl1 2023-09-11T22:06:13,502 Created temporary directory: /tmp/pip-wheel-6er6_z0l 2023-09-11T22:06:13,505 Created temporary directory: /tmp/pip-ephem-wheel-cache-5u_f2cjm 2023-09-11T22:06:13,526 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-11T22:06:13,530 2 location(s) to search for versions of qulacs-gpu: 2023-09-11T22:06:13,530 * https://pypi.org/simple/qulacs-gpu/ 2023-09-11T22:06:13,530 * https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T22:06:13,531 Fetching project page and analyzing links: https://pypi.org/simple/qulacs-gpu/ 2023-09-11T22:06:13,532 Getting page https://pypi.org/simple/qulacs-gpu/ 2023-09-11T22:06:13,533 Found index url https://pypi.org/simple/ 2023-09-11T22:06:13,674 Fetched page https://pypi.org/simple/qulacs-gpu/ as application/vnd.pypi.simple.v1+json 2023-09-11T22:06:13,677 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-11T22:06:13,678 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-11T22:06:13,678 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-11T22:06:13,679 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-11T22:06:13,680 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-11T22:06:13,681 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-11T22:06:13,681 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-11T22:06:13,682 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-11T22:06:13,683 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-11T22:06:13,684 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-11T22:06:13,685 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-11T22:06:13,685 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-11T22:06:13,686 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-11T22:06:13,687 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-11T22:06:13,688 Fetching project page and analyzing links: https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T22:06:13,688 Getting page https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T22:06:13,689 Found index url https://www.piwheels.org/simple/ 2023-09-11T22:06:14,275 Fetched page https://www.piwheels.org/simple/qulacs-gpu/ as text/html 2023-09-11T22:06:14,276 Skipping link: not a file: https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T22:06:14,277 Skipping link: not a file: https://pypi.org/simple/qulacs-gpu/ 2023-09-11T22:06:14,309 Given no hashes to check 1 links for project 'qulacs-gpu': discarding no candidates 2023-09-11T22:06:14,338 Collecting qulacs-gpu==0.1.6 2023-09-11T22:06:14,341 Created temporary directory: /tmp/pip-unpack-52ea9h_h 2023-09-11T22:06:14,560 Downloading Qulacs-GPU-0.1.6.tar.gz (215 kB) 2023-09-11T22:06:14,931 Added qulacs-gpu==0.1.6 from https://files.pythonhosted.org/packages/3e/9e/42abea8e9a010e9276b1e7337ae3e754ee3bc5a1f4d9f104789932a48fc9/Qulacs-GPU-0.1.6.tar.gz to build tracker '/tmp/pip-build-tracker-01dfqyl1' 2023-09-11T22:06:14,933 Running setup.py (path:/tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/setup.py) egg_info for package qulacs-gpu 2023-09-11T22:06:14,934 Created temporary directory: /tmp/pip-pip-egg-info-d8kwp8zu 2023-09-11T22:06:14,934 Preparing metadata (setup.py): started 2023-09-11T22:06:14,935 Running command python setup.py egg_info 2023-09-11T22:06:15,949 running egg_info 2023-09-11T22:06:15,951 creating /tmp/pip-pip-egg-info-d8kwp8zu/Qulacs_GPU.egg-info 2023-09-11T22:06:15,975 writing /tmp/pip-pip-egg-info-d8kwp8zu/Qulacs_GPU.egg-info/PKG-INFO 2023-09-11T22:06:15,978 writing dependency_links to /tmp/pip-pip-egg-info-d8kwp8zu/Qulacs_GPU.egg-info/dependency_links.txt 2023-09-11T22:06:15,980 writing top-level names to /tmp/pip-pip-egg-info-d8kwp8zu/Qulacs_GPU.egg-info/top_level.txt 2023-09-11T22:06:15,982 writing manifest file '/tmp/pip-pip-egg-info-d8kwp8zu/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-11T22:06:16,030 reading manifest file '/tmp/pip-pip-egg-info-d8kwp8zu/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-11T22:06:16,032 reading manifest template 'MANIFEST.in' 2023-09-11T22:06:16,086 adding license file 'LICENSE' 2023-09-11T22:06:16,091 writing manifest file '/tmp/pip-pip-egg-info-d8kwp8zu/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-11T22:06:16,199 Preparing metadata (setup.py): finished with status 'done' 2023-09-11T22:06:16,203 Source in /tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b has version 0.1.6, which satisfies requirement qulacs-gpu==0.1.6 from https://files.pythonhosted.org/packages/3e/9e/42abea8e9a010e9276b1e7337ae3e754ee3bc5a1f4d9f104789932a48fc9/Qulacs-GPU-0.1.6.tar.gz 2023-09-11T22:06:16,204 Removed qulacs-gpu==0.1.6 from https://files.pythonhosted.org/packages/3e/9e/42abea8e9a010e9276b1e7337ae3e754ee3bc5a1f4d9f104789932a48fc9/Qulacs-GPU-0.1.6.tar.gz from build tracker '/tmp/pip-build-tracker-01dfqyl1' 2023-09-11T22:06:16,208 Created temporary directory: /tmp/pip-unpack-fg29daqt 2023-09-11T22:06:16,209 Created temporary directory: /tmp/pip-unpack-xzhd7c5t 2023-09-11T22:06:16,211 Building wheels for collected packages: qulacs-gpu 2023-09-11T22:06:16,215 Created temporary directory: /tmp/pip-wheel-iwd9eb1v 2023-09-11T22:06:16,216 Building wheel for qulacs-gpu (setup.py): started 2023-09-11T22:06:16,217 Destination directory: /tmp/pip-wheel-iwd9eb1v 2023-09-11T22:06:16,218 Running command python setup.py bdist_wheel 2023-09-11T22:06:17,232 running bdist_wheel 2023-09-11T22:06:17,301 running build 2023-09-11T22:06:17,302 running build_ext 2023-09-11T22:06:17,345 /tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/setup.py:29: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T22:06:17,346 cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1)) 2023-09-11T22:06:17,350 /tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/setup.py:52: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T22:06:17,351 gcc_version = LooseVersion(gcc_out) 2023-09-11T22:06:17,355 /tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/setup.py:54: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T22:06:17,356 gxx_version = LooseVersion(gxx_out) 2023-09-11T22:06:17,356 /tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/setup.py:58: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T22:06:17,356 if(gcc_version >= LooseVersion('7.0.0')): 2023-09-11T22:06:17,357 /tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/setup.py:62: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T22:06:17,357 if(gxx_version >= LooseVersion('7.0.0')): 2023-09-11T22:06:17,397 CMake Warning (dev) in CMakeLists.txt: 2023-09-11T22:06:17,397 No project() command is present. The top-level CMakeLists.txt file must 2023-09-11T22:06:17,398 contain a literal, direct call to the project() command. Add a line of 2023-09-11T22:06:17,398 code such as 2023-09-11T22:06:17,399 project(ProjectName) 2023-09-11T22:06:17,400 near the top of the file, but after cmake_minimum_required(). 2023-09-11T22:06:17,401 CMake is pretending there is a "project(Project)" command on the first 2023-09-11T22:06:17,402 line. 2023-09-11T22:06:17,402 This warning is for project developers. Use -Wno-dev to suppress it. 2023-09-11T22:06:17,667 -- The C compiler identification is GNU 12.2.0 2023-09-11T22:06:17,983 -- The CXX compiler identification is GNU 12.2.0 2023-09-11T22:06:18,036 -- Detecting C compiler ABI info 2023-09-11T22:06:18,439 -- Detecting C compiler ABI info - done 2023-09-11T22:06:18,487 -- Check for working C compiler: /usr/bin/gcc - skipped 2023-09-11T22:06:18,489 -- Detecting C compile features 2023-09-11T22:06:18,491 -- Detecting C compile features - done 2023-09-11T22:06:18,512 -- Detecting CXX compiler ABI info 2023-09-11T22:06:18,941 -- Detecting CXX compiler ABI info - done 2023-09-11T22:06:19,015 -- Check for working CXX compiler: /usr/bin/g++ - skipped 2023-09-11T22:06:19,016 -- Detecting CXX compile features 2023-09-11T22:06:19,019 -- Detecting CXX compile features - done 2023-09-11T22:06:19,025 CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): 2023-09-11T22:06:19,026 Compatibility with CMake < 2.8.12 will be removed from a future version of 2023-09-11T22:06:19,027 CMake. 2023-09-11T22:06:19,028 Update the VERSION argument value or use a ... suffix to tell 2023-09-11T22:06:19,028 CMake that the project does not need compatibility with older versions. 2023-09-11T22:06:19,030 -- USE_OMP = Yes 2023-09-11T22:06:19,030 -- USE_GPU = Yes 2023-09-11T22:06:19,031 -- USE_TEST = Yes 2023-09-11T22:06:19,031 -- USE_PYTHON = Yes 2023-09-11T22:06:19,224 CMake Warning (dev) at /usr/share/cmake-3.25/Modules/ExternalProject.cmake:3075 (message): 2023-09-11T22:06:19,224 The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is 2023-09-11T22:06:19,225 not set. The policy's OLD behavior will be used. When using a URL 2023-09-11T22:06:19,225 download, the timestamps of extracted files should preferably be that of 2023-09-11T22:06:19,226 the time of extraction, otherwise code that depends on the extracted 2023-09-11T22:06:19,226 contents might not be rebuilt if the URL changes. The OLD behavior 2023-09-11T22:06:19,227 preserves the timestamps from the archive instead, but this is usually not 2023-09-11T22:06:19,228 what you want. Update your project to the NEW behavior or specify the 2023-09-11T22:06:19,228 DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this 2023-09-11T22:06:19,229 robustness issue. 2023-09-11T22:06:19,230 Call Stack (most recent call first): 2023-09-11T22:06:19,230 /usr/share/cmake-3.25/Modules/ExternalProject.cmake:4185 (_ep_add_download_command) 2023-09-11T22:06:19,231 CMakeLists.txt:58 (ExternalProject_Add) 2023-09-11T22:06:19,231 This warning is for project developers. Use -Wno-dev to suppress it. 2023-09-11T22:06:19,279 -- Fetch googletest for C++ testing 2023-09-11T22:06:20,127 [ 11%] Creating directories for 'googletest_fetch-populate' 2023-09-11T22:06:20,128 [ 22%] Performing download step (git clone) for 'googletest_fetch-populate' 2023-09-11T22:06:20,128 Cloning into 'googletest_fetch-src'... 2023-09-11T22:06:20,129 fatal: transport 'https' not allowed 2023-09-11T22:06:20,129 Cloning into 'googletest_fetch-src'... 2023-09-11T22:06:20,130 fatal: transport 'https' not allowed 2023-09-11T22:06:20,131 Cloning into 'googletest_fetch-src'... 2023-09-11T22:06:20,131 fatal: transport 'https' not allowed 2023-09-11T22:06:20,131 -- Had to git clone more than once: 3 times. 2023-09-11T22:06:20,132 CMake Error at googletest_fetch-subbuild/googletest_fetch-populate-prefix/tmp/googletest_fetch-populate-gitclone.cmake:39 (message): 2023-09-11T22:06:20,132 Failed to clone repository: 'https://github.com/google/googletest' 2023-09-11T22:06:20,134 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-11T22:06:20,134 gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/googletest_fetch-populate.dir/all] Error 2 2023-09-11T22:06:20,135 gmake: *** [Makefile:91: all] Error 2 2023-09-11T22:06:20,137 CMake Error at FetchContent.cmake:798 (message): 2023-09-11T22:06:20,138 Build step for googletest_fetch failed: 2 2023-09-11T22:06:20,139 Call Stack (most recent call first): 2023-09-11T22:06:20,140 FetchContent.cmake:889 (__FetchContent_directPopulate) 2023-09-11T22:06:20,141 CMakeLists.txt:82 (FetchContent_Populate) 2023-09-11T22:06:20,143 -- Configuring incomplete, errors occurred! 2023-09-11T22:06:20,143 See also "/tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/build/temp.linux-armv7l-cpython-311/CMakeFiles/CMakeOutput.log". 2023-09-11T22:06:20,145 Traceback (most recent call last): 2023-09-11T22:06:20,149 File "", line 2, in 2023-09-11T22:06:20,149 File "", line 34, in 2023-09-11T22:06:20,150 File "/tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/setup.py", line 78, in 2023-09-11T22:06:20,151 setup( 2023-09-11T22:06:20,151 File "/usr/local/lib/python3.11/dist-packages/setuptools/__init__.py", line 103, in setup 2023-09-11T22:06:20,152 return distutils.core.setup(**attrs) 2023-09-11T22:06:20,152 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T22:06:20,153 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 185, in setup 2023-09-11T22:06:20,153 return run_commands(dist) 2023-09-11T22:06:20,154 ^^^^^^^^^^^^^^^^^^ 2023-09-11T22:06:20,154 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands 2023-09-11T22:06:20,155 dist.run_commands() 2023-09-11T22:06:20,156 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands 2023-09-11T22:06:20,156 self.run_command(cmd) 2023-09-11T22:06:20,157 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-11T22:06:20,157 super().run_command(command) 2023-09-11T22:06:20,158 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T22:06:20,158 cmd_obj.run() 2023-09-11T22:06:20,159 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 325, in run 2023-09-11T22:06:20,160 self.run_command("build") 2023-09-11T22:06:20,160 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-11T22:06:20,161 self.distribution.run_command(command) 2023-09-11T22:06:20,162 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-11T22:06:20,162 super().run_command(command) 2023-09-11T22:06:20,163 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T22:06:20,164 cmd_obj.run() 2023-09-11T22:06:20,164 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build.py", line 131, in run 2023-09-11T22:06:20,165 self.run_command(cmd_name) 2023-09-11T22:06:20,166 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-11T22:06:20,166 self.distribution.run_command(command) 2023-09-11T22:06:20,167 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-11T22:06:20,168 super().run_command(command) 2023-09-11T22:06:20,168 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T22:06:20,169 cmd_obj.run() 2023-09-11T22:06:20,169 File "/tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/setup.py", line 31, in run 2023-09-11T22:06:20,170 self.build_extension(ext) 2023-09-11T22:06:20,171 File "/tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/setup.py", line 75, in build_extension 2023-09-11T22:06:20,171 subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env) 2023-09-11T22:06:20,172 File "/usr/lib/python3.11/subprocess.py", line 413, in check_call 2023-09-11T22:06:20,173 raise CalledProcessError(retcode, cmd) 2023-09-11T22:06:20,173 subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/build/lib.linux-armv7l-cpython-311', '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/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-11T22:06:20,271 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-11T22:06:20,284 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-11T22:06:20,284 exec(compile('"'"''"'"''"'"' 2023-09-11T22:06:20,284 # This is -- a caller that pip uses to run setup.py 2023-09-11T22:06:20,284 # 2023-09-11T22:06:20,284 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-11T22:06:20,284 # import from `distutils.core` to work with newer packaging standards. 2023-09-11T22:06:20,284 # - It provides a clear error message when setuptools is not installed. 2023-09-11T22:06:20,284 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-11T22:06:20,284 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-11T22:06:20,284 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-11T22:06:20,284 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-11T22:06:20,284 import os, sys, tokenize 2023-09-11T22:06:20,284 2023-09-11T22:06:20,284 try: 2023-09-11T22:06:20,284 import setuptools 2023-09-11T22:06:20,284 except ImportError as error: 2023-09-11T22:06:20,284 print( 2023-09-11T22:06:20,284 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-11T22:06:20,284 "the build environment.", 2023-09-11T22:06:20,284 file=sys.stderr, 2023-09-11T22:06:20,284 ) 2023-09-11T22:06:20,284 sys.exit(1) 2023-09-11T22:06:20,284 2023-09-11T22:06:20,284 __file__ = %r 2023-09-11T22:06:20,284 sys.argv[0] = __file__ 2023-09-11T22:06:20,284 2023-09-11T22:06:20,284 if os.path.exists(__file__): 2023-09-11T22:06:20,284 filename = __file__ 2023-09-11T22:06:20,284 with tokenize.open(__file__) as f: 2023-09-11T22:06:20,284 setup_py_code = f.read() 2023-09-11T22:06:20,284 else: 2023-09-11T22:06:20,284 filename = "" 2023-09-11T22:06:20,284 setup_py_code = "from setuptools import setup; setup()" 2023-09-11T22:06:20,284 2023-09-11T22:06:20,284 exec(compile(setup_py_code, filename, "exec")) 2023-09-11T22:06:20,284 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-iwd9eb1v[/] 2023-09-11T22:06:20,285 [bold magenta]cwd[/]: /tmp/pip-wheel-6er6_z0l/qulacs-gpu_11358b2897464d4d8ab685f735316a6b/ 2023-09-11T22:06:20,285 Building wheel for qulacs-gpu (setup.py): finished with status 'error' 2023-09-11T22:06:20,286 ERROR: Failed building wheel for qulacs-gpu 2023-09-11T22:06:20,288 Running setup.py clean for qulacs-gpu 2023-09-11T22:06:20,289 Running command python setup.py clean 2023-09-11T22:06:21,787 running clean 2023-09-11T22:06:21,833 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-11T22:06:21,860 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-11T22:06:21,860 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-11T22:06:21,861 'build/scripts-3.11' does not exist -- can't clean it 2023-09-11T22:06:21,861 removing 'build' 2023-09-11T22:06:21,971 Failed to build qulacs-gpu 2023-09-11T22:06:21,973 ERROR: Failed to build one or more wheels 2023-09-11T22:06:21,974 Exception information: 2023-09-11T22:06:21,974 Traceback (most recent call last): 2023-09-11T22:06:21,974 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-11T22:06:21,974 status = run_func(*args) 2023-09-11T22:06:21,974 ^^^^^^^^^^^^^^^ 2023-09-11T22:06:21,974 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-11T22:06:21,974 return func(self, options, args) 2023-09-11T22:06:21,974 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T22:06:21,974 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-11T22:06:21,974 raise CommandError("Failed to build one or more wheels") 2023-09-11T22:06:21,974 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-11T22:06:21,977 Removed build tracker: '/tmp/pip-build-tracker-01dfqyl1'