2023-09-11T04:39:09,524 Created temporary directory: /tmp/pip-build-tracker-9f3zpzv_ 2023-09-11T04:39:09,525 Initialized build tracking at /tmp/pip-build-tracker-9f3zpzv_ 2023-09-11T04:39:09,526 Created build tracker: /tmp/pip-build-tracker-9f3zpzv_ 2023-09-11T04:39:09,526 Entered build tracker: /tmp/pip-build-tracker-9f3zpzv_ 2023-09-11T04:39:09,527 Created temporary directory: /tmp/pip-wheel-7nkxtyf1 2023-09-11T04:39:09,531 Created temporary directory: /tmp/pip-ephem-wheel-cache-v74zgk73 2023-09-11T04:39:09,554 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-11T04:39:09,558 2 location(s) to search for versions of qulacs-gpu: 2023-09-11T04:39:09,558 * https://pypi.org/simple/qulacs-gpu/ 2023-09-11T04:39:09,558 * https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T04:39:09,559 Fetching project page and analyzing links: https://pypi.org/simple/qulacs-gpu/ 2023-09-11T04:39:09,559 Getting page https://pypi.org/simple/qulacs-gpu/ 2023-09-11T04:39:09,561 Found index url https://pypi.org/simple/ 2023-09-11T04:39:09,820 Fetched page https://pypi.org/simple/qulacs-gpu/ as application/vnd.pypi.simple.v1+json 2023-09-11T04:39:09,824 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-11T04:39:09,824 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-11T04:39:09,825 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-11T04:39:09,826 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-11T04:39:09,826 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-11T04:39:09,827 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-11T04:39:09,828 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-11T04:39:09,829 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-11T04:39:09,829 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-11T04:39:09,830 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-11T04:39:09,831 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-11T04:39:09,832 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-11T04:39:09,833 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-11T04:39:09,834 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-11T04:39:09,835 Fetching project page and analyzing links: https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T04:39:09,835 Getting page https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T04:39:09,836 Found index url https://www.piwheels.org/simple/ 2023-09-11T04:39:10,165 Fetched page https://www.piwheels.org/simple/qulacs-gpu/ as text/html 2023-09-11T04:39:10,166 Skipping link: not a file: https://www.piwheels.org/simple/qulacs-gpu/ 2023-09-11T04:39:10,167 Skipping link: not a file: https://pypi.org/simple/qulacs-gpu/ 2023-09-11T04:39:10,191 Given no hashes to check 1 links for project 'qulacs-gpu': discarding no candidates 2023-09-11T04:39:10,218 Collecting qulacs-gpu==0.1.0 2023-09-11T04:39:10,221 Created temporary directory: /tmp/pip-unpack-z65c3ggw 2023-09-11T04:39:10,452 Downloading Qulacs-GPU-0.1.0.tar.gz (131 kB) 2023-09-11T04:39:10,777 Added qulacs-gpu==0.1.0 from https://files.pythonhosted.org/packages/c2/05/1e8e1dadb05a57f5f2148cdaba3bb58a5649f1f879a5afd95cf73d3de79c/Qulacs-GPU-0.1.0.tar.gz to build tracker '/tmp/pip-build-tracker-9f3zpzv_' 2023-09-11T04:39:10,779 Running setup.py (path:/tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/setup.py) egg_info for package qulacs-gpu 2023-09-11T04:39:10,779 Created temporary directory: /tmp/pip-pip-egg-info-0l9dcv4p 2023-09-11T04:39:10,780 Preparing metadata (setup.py): started 2023-09-11T04:39:10,781 Running command python setup.py egg_info 2023-09-11T04:39:11,788 running egg_info 2023-09-11T04:39:11,790 creating /tmp/pip-pip-egg-info-0l9dcv4p/Qulacs_GPU.egg-info 2023-09-11T04:39:11,813 writing /tmp/pip-pip-egg-info-0l9dcv4p/Qulacs_GPU.egg-info/PKG-INFO 2023-09-11T04:39:11,816 writing dependency_links to /tmp/pip-pip-egg-info-0l9dcv4p/Qulacs_GPU.egg-info/dependency_links.txt 2023-09-11T04:39:11,818 writing top-level names to /tmp/pip-pip-egg-info-0l9dcv4p/Qulacs_GPU.egg-info/top_level.txt 2023-09-11T04:39:11,820 writing manifest file '/tmp/pip-pip-egg-info-0l9dcv4p/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-11T04:39:11,868 reading manifest file '/tmp/pip-pip-egg-info-0l9dcv4p/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-11T04:39:11,870 reading manifest template 'MANIFEST.in' 2023-09-11T04:39:11,922 writing manifest file '/tmp/pip-pip-egg-info-0l9dcv4p/Qulacs_GPU.egg-info/SOURCES.txt' 2023-09-11T04:39:12,030 Preparing metadata (setup.py): finished with status 'done' 2023-09-11T04:39:12,033 Source in /tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a has version 0.1.0, which satisfies requirement qulacs-gpu==0.1.0 from https://files.pythonhosted.org/packages/c2/05/1e8e1dadb05a57f5f2148cdaba3bb58a5649f1f879a5afd95cf73d3de79c/Qulacs-GPU-0.1.0.tar.gz 2023-09-11T04:39:12,034 Removed qulacs-gpu==0.1.0 from https://files.pythonhosted.org/packages/c2/05/1e8e1dadb05a57f5f2148cdaba3bb58a5649f1f879a5afd95cf73d3de79c/Qulacs-GPU-0.1.0.tar.gz from build tracker '/tmp/pip-build-tracker-9f3zpzv_' 2023-09-11T04:39:12,039 Created temporary directory: /tmp/pip-unpack-i0m08gtf 2023-09-11T04:39:12,040 Created temporary directory: /tmp/pip-unpack-6k31pn1j 2023-09-11T04:39:12,042 Building wheels for collected packages: qulacs-gpu 2023-09-11T04:39:12,046 Created temporary directory: /tmp/pip-wheel-7g79mx_x 2023-09-11T04:39:12,047 Building wheel for qulacs-gpu (setup.py): started 2023-09-11T04:39:12,048 Destination directory: /tmp/pip-wheel-7g79mx_x 2023-09-11T04:39:12,049 Running command python setup.py bdist_wheel 2023-09-11T04:39:13,016 running bdist_wheel 2023-09-11T04:39:13,085 running build 2023-09-11T04:39:13,086 running build_ext 2023-09-11T04:39:13,129 /tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/setup.py:29: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T04:39:13,130 cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1)) 2023-09-11T04:39:13,135 /tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/setup.py:52: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T04:39:13,136 gcc_version = LooseVersion(gcc_out) 2023-09-11T04:39:13,140 /tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/setup.py:54: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T04:39:13,140 gxx_version = LooseVersion(gxx_out) 2023-09-11T04:39:13,141 /tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/setup.py:58: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T04:39:13,141 if(gcc_version >= LooseVersion('7.0.0')): 2023-09-11T04:39:13,142 /tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/setup.py:62: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 2023-09-11T04:39:13,142 if(gxx_version >= LooseVersion('7.0.0')): 2023-09-11T04:39:13,181 CMake Warning (dev) in CMakeLists.txt: 2023-09-11T04:39:13,182 No project() command is present. The top-level CMakeLists.txt file must 2023-09-11T04:39:13,182 contain a literal, direct call to the project() command. Add a line of 2023-09-11T04:39:13,183 code such as 2023-09-11T04:39:13,184 project(ProjectName) 2023-09-11T04:39:13,185 near the top of the file, but after cmake_minimum_required(). 2023-09-11T04:39:13,186 CMake is pretending there is a "project(Project)" command on the first 2023-09-11T04:39:13,186 line. 2023-09-11T04:39:13,187 This warning is for project developers. Use -Wno-dev to suppress it. 2023-09-11T04:39:13,447 -- The C compiler identification is GNU 12.2.0 2023-09-11T04:39:13,765 -- The CXX compiler identification is GNU 12.2.0 2023-09-11T04:39:13,817 -- Detecting C compiler ABI info 2023-09-11T04:39:14,211 -- Detecting C compiler ABI info - done 2023-09-11T04:39:14,259 -- Check for working C compiler: /usr/bin/gcc - skipped 2023-09-11T04:39:14,260 -- Detecting C compile features 2023-09-11T04:39:14,262 -- Detecting C compile features - done 2023-09-11T04:39:14,283 -- Detecting CXX compiler ABI info 2023-09-11T04:39:14,697 -- Detecting CXX compiler ABI info - done 2023-09-11T04:39:14,748 -- Check for working CXX compiler: /usr/bin/g++ - skipped 2023-09-11T04:39:14,749 -- Detecting CXX compile features 2023-09-11T04:39:14,752 -- Detecting CXX compile features - done 2023-09-11T04:39:14,758 CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): 2023-09-11T04:39:14,759 Compatibility with CMake < 2.8.12 will be removed from a future version of 2023-09-11T04:39:14,759 CMake. 2023-09-11T04:39:14,760 Update the VERSION argument value or use a ... suffix to tell 2023-09-11T04:39:14,761 CMake that the project does not need compatibility with older versions. 2023-09-11T04:39:14,762 -- USE_OMP = Yes 2023-09-11T04:39:14,763 -- USE_GPU = Yes 2023-09-11T04:39:14,763 -- USE_TEST = Yes 2023-09-11T04:39:14,764 -- USE_PYTHON = Yes 2023-09-11T04:39:14,915 CMake Warning (dev) at /usr/share/cmake-3.25/Modules/ExternalProject.cmake:3075 (message): 2023-09-11T04:39:14,915 The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is 2023-09-11T04:39:14,916 not set. The policy's OLD behavior will be used. When using a URL 2023-09-11T04:39:14,916 download, the timestamps of extracted files should preferably be that of 2023-09-11T04:39:14,917 the time of extraction, otherwise code that depends on the extracted 2023-09-11T04:39:14,917 contents might not be rebuilt if the URL changes. The OLD behavior 2023-09-11T04:39:14,918 preserves the timestamps from the archive instead, but this is usually not 2023-09-11T04:39:14,918 what you want. Update your project to the NEW behavior or specify the 2023-09-11T04:39:14,919 DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this 2023-09-11T04:39:14,919 robustness issue. 2023-09-11T04:39:14,920 Call Stack (most recent call first): 2023-09-11T04:39:14,921 /usr/share/cmake-3.25/Modules/ExternalProject.cmake:4185 (_ep_add_download_command) 2023-09-11T04:39:14,921 CMakeLists.txt:58 (ExternalProject_Add) 2023-09-11T04:39:14,921 This warning is for project developers. Use -Wno-dev to suppress it. 2023-09-11T04:39:14,968 -- Fetch googletest for C++ testing 2023-09-11T04:39:15,845 [ 11%] Creating directories for 'googletest_fetch-populate' 2023-09-11T04:39:15,845 [ 22%] Performing download step (git clone) for 'googletest_fetch-populate' 2023-09-11T04:39:15,846 Cloning into 'googletest_fetch-src'... 2023-09-11T04:39:15,846 fatal: transport 'https' not allowed 2023-09-11T04:39:15,847 Cloning into 'googletest_fetch-src'... 2023-09-11T04:39:15,847 fatal: transport 'https' not allowed 2023-09-11T04:39:15,848 Cloning into 'googletest_fetch-src'... 2023-09-11T04:39:15,848 fatal: transport 'https' not allowed 2023-09-11T04:39:15,849 -- Had to git clone more than once: 3 times. 2023-09-11T04:39:15,849 CMake Error at googletest_fetch-subbuild/googletest_fetch-populate-prefix/tmp/googletest_fetch-populate-gitclone.cmake:39 (message): 2023-09-11T04:39:15,850 Failed to clone repository: 'https://github.com/google/googletest' 2023-09-11T04:39:15,858 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-11T04:39:15,858 gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/googletest_fetch-populate.dir/all] Error 2 2023-09-11T04:39:15,859 gmake: *** [Makefile:91: all] Error 2 2023-09-11T04:39:15,860 CMake Error at FetchContent.cmake:798 (message): 2023-09-11T04:39:15,861 Build step for googletest_fetch failed: 2 2023-09-11T04:39:15,862 Call Stack (most recent call first): 2023-09-11T04:39:15,862 FetchContent.cmake:889 (__FetchContent_directPopulate) 2023-09-11T04:39:15,863 CMakeLists.txt:82 (FetchContent_Populate) 2023-09-11T04:39:15,864 -- Configuring incomplete, errors occurred! 2023-09-11T04:39:15,865 See also "/tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/build/temp.linux-armv7l-cpython-311/CMakeFiles/CMakeOutput.log". 2023-09-11T04:39:15,865 Traceback (most recent call last): 2023-09-11T04:39:15,866 File "", line 2, in 2023-09-11T04:39:15,866 File "", line 34, in 2023-09-11T04:39:15,867 File "/tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/setup.py", line 78, in 2023-09-11T04:39:15,868 setup( 2023-09-11T04:39:15,868 File "/usr/local/lib/python3.11/dist-packages/setuptools/__init__.py", line 103, in setup 2023-09-11T04:39:15,869 return distutils.core.setup(**attrs) 2023-09-11T04:39:15,869 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T04:39:15,870 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 185, in setup 2023-09-11T04:39:15,871 return run_commands(dist) 2023-09-11T04:39:15,871 ^^^^^^^^^^^^^^^^^^ 2023-09-11T04:39:15,872 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands 2023-09-11T04:39:15,872 dist.run_commands() 2023-09-11T04:39:15,873 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands 2023-09-11T04:39:15,873 self.run_command(cmd) 2023-09-11T04:39:15,874 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-11T04:39:15,874 super().run_command(command) 2023-09-11T04:39:15,875 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T04:39:15,875 cmd_obj.run() 2023-09-11T04:39:15,876 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 325, in run 2023-09-11T04:39:15,877 self.run_command("build") 2023-09-11T04:39:15,878 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-11T04:39:15,878 self.distribution.run_command(command) 2023-09-11T04:39:15,879 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-11T04:39:15,879 super().run_command(command) 2023-09-11T04:39:15,879 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T04:39:15,880 cmd_obj.run() 2023-09-11T04:39:15,881 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build.py", line 131, in run 2023-09-11T04:39:15,882 self.run_command(cmd_name) 2023-09-11T04:39:15,882 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-11T04:39:15,883 self.distribution.run_command(command) 2023-09-11T04:39:15,884 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-11T04:39:15,884 super().run_command(command) 2023-09-11T04:39:15,885 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T04:39:15,886 cmd_obj.run() 2023-09-11T04:39:15,886 File "/tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/setup.py", line 31, in run 2023-09-11T04:39:15,887 self.build_extension(ext) 2023-09-11T04:39:15,888 File "/tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/setup.py", line 75, in build_extension 2023-09-11T04:39:15,888 subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env) 2023-09-11T04:39:15,889 File "/usr/lib/python3.11/subprocess.py", line 413, in check_call 2023-09-11T04:39:15,890 raise CalledProcessError(retcode, cmd) 2023-09-11T04:39:15,891 subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/build/lib.linux-armv7l-cpython-311', '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/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-11T04:39:15,988 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-11T04:39:16,001 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-11T04:39:16,001 exec(compile('"'"''"'"''"'"' 2023-09-11T04:39:16,001 # This is -- a caller that pip uses to run setup.py 2023-09-11T04:39:16,001 # 2023-09-11T04:39:16,001 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-11T04:39:16,001 # import from `distutils.core` to work with newer packaging standards. 2023-09-11T04:39:16,001 # - It provides a clear error message when setuptools is not installed. 2023-09-11T04:39:16,001 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-11T04:39:16,001 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-11T04:39:16,001 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-11T04:39:16,001 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-11T04:39:16,001 import os, sys, tokenize 2023-09-11T04:39:16,001 2023-09-11T04:39:16,001 try: 2023-09-11T04:39:16,001 import setuptools 2023-09-11T04:39:16,001 except ImportError as error: 2023-09-11T04:39:16,001 print( 2023-09-11T04:39:16,001 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-11T04:39:16,001 "the build environment.", 2023-09-11T04:39:16,001 file=sys.stderr, 2023-09-11T04:39:16,001 ) 2023-09-11T04:39:16,001 sys.exit(1) 2023-09-11T04:39:16,001 2023-09-11T04:39:16,001 __file__ = %r 2023-09-11T04:39:16,001 sys.argv[0] = __file__ 2023-09-11T04:39:16,001 2023-09-11T04:39:16,001 if os.path.exists(__file__): 2023-09-11T04:39:16,001 filename = __file__ 2023-09-11T04:39:16,001 with tokenize.open(__file__) as f: 2023-09-11T04:39:16,001 setup_py_code = f.read() 2023-09-11T04:39:16,001 else: 2023-09-11T04:39:16,001 filename = "" 2023-09-11T04:39:16,001 setup_py_code = "from setuptools import setup; setup()" 2023-09-11T04:39:16,001 2023-09-11T04:39:16,001 exec(compile(setup_py_code, filename, "exec")) 2023-09-11T04:39:16,001 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-7g79mx_x[/] 2023-09-11T04:39:16,002 [bold magenta]cwd[/]: /tmp/pip-wheel-7nkxtyf1/qulacs-gpu_d8a64593235b467098b5500b9fa0c69a/ 2023-09-11T04:39:16,003 Building wheel for qulacs-gpu (setup.py): finished with status 'error' 2023-09-11T04:39:16,004 ERROR: Failed building wheel for qulacs-gpu 2023-09-11T04:39:16,005 Running setup.py clean for qulacs-gpu 2023-09-11T04:39:16,006 Running command python setup.py clean 2023-09-11T04:39:17,004 running clean 2023-09-11T04:39:17,049 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-11T04:39:17,075 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-11T04:39:17,075 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-11T04:39:17,076 'build/scripts-3.11' does not exist -- can't clean it 2023-09-11T04:39:17,077 removing 'build' 2023-09-11T04:39:17,181 Failed to build qulacs-gpu 2023-09-11T04:39:17,183 ERROR: Failed to build one or more wheels 2023-09-11T04:39:17,184 Exception information: 2023-09-11T04:39:17,184 Traceback (most recent call last): 2023-09-11T04:39:17,184 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-11T04:39:17,184 status = run_func(*args) 2023-09-11T04:39:17,184 ^^^^^^^^^^^^^^^ 2023-09-11T04:39:17,184 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-11T04:39:17,184 return func(self, options, args) 2023-09-11T04:39:17,184 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T04:39:17,184 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-11T04:39:17,184 raise CommandError("Failed to build one or more wheels") 2023-09-11T04:39:17,184 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-11T04:39:17,187 Removed build tracker: '/tmp/pip-build-tracker-9f3zpzv_'