2023-09-10T17:12:24,694 Created temporary directory: /tmp/pip-build-tracker-l701jiuj 2023-09-10T17:12:24,695 Initialized build tracking at /tmp/pip-build-tracker-l701jiuj 2023-09-10T17:12:24,696 Created build tracker: /tmp/pip-build-tracker-l701jiuj 2023-09-10T17:12:24,696 Entered build tracker: /tmp/pip-build-tracker-l701jiuj 2023-09-10T17:12:24,697 Created temporary directory: /tmp/pip-wheel-hvvspzg_ 2023-09-10T17:12:24,700 Created temporary directory: /tmp/pip-ephem-wheel-cache-x0brdcil 2023-09-10T17:12:24,722 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-10T17:12:24,726 2 location(s) to search for versions of cupy-ibmopt: 2023-09-10T17:12:24,726 * https://pypi.org/simple/cupy-ibmopt/ 2023-09-10T17:12:24,726 * https://www.piwheels.org/simple/cupy-ibmopt/ 2023-09-10T17:12:24,727 Fetching project page and analyzing links: https://pypi.org/simple/cupy-ibmopt/ 2023-09-10T17:12:24,727 Getting page https://pypi.org/simple/cupy-ibmopt/ 2023-09-10T17:12:24,729 Found index url https://pypi.org/simple/ 2023-09-10T17:12:24,981 Fetched page https://pypi.org/simple/cupy-ibmopt/ as application/vnd.pypi.simple.v1+json 2023-09-10T17:12:24,982 Found link https://files.pythonhosted.org/packages/99/3a/75178003234c9ff4223ca261a2a87ca87328a1ba63cc7ddf93568f5484e6/cupy-ibmopt-4.0.0a3.tar.gz (from https://pypi.org/simple/cupy-ibmopt/), version: 4.0.0a3 2023-09-10T17:12:24,983 Fetching project page and analyzing links: https://www.piwheels.org/simple/cupy-ibmopt/ 2023-09-10T17:12:24,984 Getting page https://www.piwheels.org/simple/cupy-ibmopt/ 2023-09-10T17:12:24,985 Found index url https://www.piwheels.org/simple/ 2023-09-10T17:12:25,311 Fetched page https://www.piwheels.org/simple/cupy-ibmopt/ as text/html 2023-09-10T17:12:25,313 Skipping link: not a file: https://www.piwheels.org/simple/cupy-ibmopt/ 2023-09-10T17:12:25,314 Skipping link: not a file: https://pypi.org/simple/cupy-ibmopt/ 2023-09-10T17:12:25,353 Given no hashes to check 1 links for project 'cupy-ibmopt': discarding no candidates 2023-09-10T17:12:25,389 Collecting cupy-ibmopt==4.0.0a3 2023-09-10T17:12:25,393 Created temporary directory: /tmp/pip-unpack-3e0couam 2023-09-10T17:12:26,047 Downloading cupy-ibmopt-4.0.0a3.tar.gz (2.0 MB) 2023-09-10T17:12:27,181 Added cupy-ibmopt==4.0.0a3 from https://files.pythonhosted.org/packages/99/3a/75178003234c9ff4223ca261a2a87ca87328a1ba63cc7ddf93568f5484e6/cupy-ibmopt-4.0.0a3.tar.gz to build tracker '/tmp/pip-build-tracker-l701jiuj' 2023-09-10T17:12:27,183 Running setup.py (path:/tmp/pip-wheel-hvvspzg_/cupy-ibmopt_7ec054b3a2064329ae10f667a260c0aa/setup.py) egg_info for package cupy-ibmopt 2023-09-10T17:12:27,184 Created temporary directory: /tmp/pip-pip-egg-info-22dp_hv3 2023-09-10T17:12:27,185 Preparing metadata (setup.py): started 2023-09-10T17:12:27,186 Running command python setup.py egg_info 2023-09-10T17:12:27,590 /tmp/pip-wheel-hvvspzg_/cupy-ibmopt_7ec054b3a2064329ae10f667a260c0aa/setup.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses 2023-09-10T17:12:27,590 import imp 2023-09-10T17:12:27,981 /tmp/pip-wheel-hvvspzg_/cupy-ibmopt_7ec054b3a2064329ae10f667a260c0aa/install/build.py:39: SyntaxWarning: "is not" with a literal. Did you mean "!="? 2023-09-10T17:12:27,982 if _cuda_path is not 'NOT_INITIALIZED': 2023-09-10T17:12:28,002 Options: {'package_name': 'cupy-ibmopt', 'long_description': None, 'wheel_libs': [], 'no_rpath': False, 'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False} 2023-09-10T17:12:28,002 ************************************************** 2023-09-10T17:12:28,003 *** WARNING: nvcc not in path. 2023-09-10T17:12:28,004 *** WARNING: Please set path to nvcc. 2023-09-10T17:12:28,004 ************************************************** 2023-09-10T17:12:28,005 -------- Configuring Module: cuda -------- 2023-09-10T17:12:28,058 /tmp/tmp0l1r_5_i/a.cpp:1:10: fatal error: cublas_v2.h: No such file or directory 2023-09-10T17:12:28,059 1 | #include 2023-09-10T17:12:28,060 | ^~~~~~~~~~~~~ 2023-09-10T17:12:28,061 compilation terminated. 2023-09-10T17:12:28,063 command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-10T17:12:28,064 Traceback (most recent call last): 2023-09-10T17:12:28,064 File "", line 2, in 2023-09-10T17:12:28,064 File "", line 34, in 2023-09-10T17:12:28,065 File "/tmp/pip-wheel-hvvspzg_/cupy-ibmopt_7ec054b3a2064329ae10f667a260c0aa/setup.py", line 65, in 2023-09-10T17:12:28,065 ext_modules = cupy_setup_build.get_ext_modules() 2023-09-10T17:12:28,066 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,067 File "/tmp/pip-wheel-hvvspzg_/cupy-ibmopt_7ec054b3a2064329ae10f667a260c0aa/cupy_setup_build.py", line 561, in get_ext_modules 2023-09-10T17:12:28,068 extensions = make_extensions(arg_options, compiler, use_cython) 2023-09-10T17:12:28,068 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,069 File "/tmp/pip-wheel-hvvspzg_/cupy-ibmopt_7ec054b3a2064329ae10f667a260c0aa/cupy_setup_build.py", line 374, in make_extensions 2023-09-10T17:12:28,070 raise Exception('Your CUDA environment is invalid. ' 2023-09-10T17:12:28,070 Exception: Your CUDA environment is invalid. Please check above error log. 2023-09-10T17:12:28,072 ************************************************************ 2023-09-10T17:12:28,072 * CuPy Configuration Summary * 2023-09-10T17:12:28,073 ************************************************************ 2023-09-10T17:12:28,074 Build Environment: 2023-09-10T17:12:28,075 Include directories: [] 2023-09-10T17:12:28,076 Library directories: [] 2023-09-10T17:12:28,077 nvcc command : (not found) 2023-09-10T17:12:28,078 Environment Variables: 2023-09-10T17:12:28,079 CFLAGS : (none) 2023-09-10T17:12:28,080 LDFLAGS : (none) 2023-09-10T17:12:28,081 LIBRARY_PATH : (none) 2023-09-10T17:12:28,082 CUDA_PATH : (none) 2023-09-10T17:12:28,083 NVCC : (none) 2023-09-10T17:12:28,084 Modules: 2023-09-10T17:12:28,085 cuda : No 2023-09-10T17:12:28,086 -> Include files not found: ['cublas_v2.h', 'cuda.h', 'cuda_profiler_api.h', 'cuda_runtime.h', 'cufft.h', 'curand.h', 'cusparse.h', 'nvrtc.h', 'nvToolsExt.h'] 2023-09-10T17:12:28,087 -> Check your CFLAGS environment variable. 2023-09-10T17:12:28,089 ERROR: CUDA could not be found on your system. 2023-09-10T17:12:28,090 Please refer to the Installation Guide for details: 2023-09-10T17:12:28,091 https://docs-cupy.chainer.org/en/stable/install.html 2023-09-10T17:12:28,093 ************************************************************ 2023-09-10T17:12:28,164 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-09-10T17:12:28,177 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-09-10T17:12:28,177 exec(compile('"'"''"'"''"'"' 2023-09-10T17:12:28,177 # This is -- a caller that pip uses to run setup.py 2023-09-10T17:12:28,177 # 2023-09-10T17:12:28,177 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-10T17:12:28,177 # import from `distutils.core` to work with newer packaging standards. 2023-09-10T17:12:28,177 # - It provides a clear error message when setuptools is not installed. 2023-09-10T17:12:28,177 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-10T17:12:28,177 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-10T17:12:28,177 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-10T17:12:28,177 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-10T17:12:28,177 import os, sys, tokenize 2023-09-10T17:12:28,177 2023-09-10T17:12:28,177 try: 2023-09-10T17:12:28,177 import setuptools 2023-09-10T17:12:28,177 except ImportError as error: 2023-09-10T17:12:28,177 print( 2023-09-10T17:12:28,177 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-10T17:12:28,177 "the build environment.", 2023-09-10T17:12:28,177 file=sys.stderr, 2023-09-10T17:12:28,177 ) 2023-09-10T17:12:28,177 sys.exit(1) 2023-09-10T17:12:28,177 2023-09-10T17:12:28,177 __file__ = %r 2023-09-10T17:12:28,177 sys.argv[0] = __file__ 2023-09-10T17:12:28,177 2023-09-10T17:12:28,177 if os.path.exists(__file__): 2023-09-10T17:12:28,177 filename = __file__ 2023-09-10T17:12:28,177 with tokenize.open(__file__) as f: 2023-09-10T17:12:28,177 setup_py_code = f.read() 2023-09-10T17:12:28,177 else: 2023-09-10T17:12:28,177 filename = "" 2023-09-10T17:12:28,177 setup_py_code = "from setuptools import setup; setup()" 2023-09-10T17:12:28,177 2023-09-10T17:12:28,177 exec(compile(setup_py_code, filename, "exec")) 2023-09-10T17:12:28,177 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-hvvspzg_/cupy-ibmopt_7ec054b3a2064329ae10f667a260c0aa/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-22dp_hv3[/] 2023-09-10T17:12:28,178 [bold magenta]cwd[/]: /tmp/pip-wheel-hvvspzg_/cupy-ibmopt_7ec054b3a2064329ae10f667a260c0aa/ 2023-09-10T17:12:28,179 Preparing metadata (setup.py): finished with status 'error' 2023-09-10T17:12:28,181 ERROR: [present-rich] metadata generation failed 2023-09-10T17:12:28,186 Exception information: 2023-09-10T17:12:28,186 Traceback (most recent call last): 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2023-09-10T17:12:28,186 call_subprocess( 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-09-10T17:12:28,186 raise error 2023-09-10T17:12:28,186 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-09-10T17:12:28,186 2023-09-10T17:12:28,186 The above exception was the direct cause of the following exception: 2023-09-10T17:12:28,186 2023-09-10T17:12:28,186 Traceback (most recent call last): 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-10T17:12:28,186 status = run_func(*args) 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-10T17:12:28,186 return func(self, options, args) 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-09-10T17:12:28,186 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve 2023-09-10T17:12:28,186 result = self._result = resolver.resolve( 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-09-10T17:12:28,186 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-09-10T17:12:28,186 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-09-10T17:12:28,186 if not criterion.candidates: 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-09-10T17:12:28,186 return bool(self._sequence) 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-09-10T17:12:28,186 return any(self) 2023-09-10T17:12:28,186 ^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-09-10T17:12:28,186 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-09-10T17:12:28,186 candidate = func() 2023-09-10T17:12:28,186 ^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link 2023-09-10T17:12:28,186 self._link_candidate_cache[link] = LinkCandidate( 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-09-10T17:12:28,186 super().__init__( 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-09-10T17:12:28,186 self.dist = self._prepare() 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-09-10T17:12:28,186 dist = self._prepare_distribution() 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-09-10T17:12:28,186 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement 2023-09-10T17:12:28,186 return self._prepare_linked_requirement(req, parallel_builds) 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 653, in _prepare_linked_requirement 2023-09-10T17:12:28,186 dist = _get_prepared_distribution( 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution 2023-09-10T17:12:28,186 abstract_dist.prepare_distribution_metadata( 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-09-10T17:12:28,186 self.req.prepare_metadata() 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/req/req_install.py", line 568, in prepare_metadata 2023-09-10T17:12:28,186 self.metadata_directory = generate_metadata_legacy( 2023-09-10T17:12:28,186 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T17:12:28,186 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-09-10T17:12:28,186 raise MetadataGenerationFailed(package_details=details) from error 2023-09-10T17:12:28,186 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-09-10T17:12:28,198 Removed cupy-ibmopt==4.0.0a3 from https://files.pythonhosted.org/packages/99/3a/75178003234c9ff4223ca261a2a87ca87328a1ba63cc7ddf93568f5484e6/cupy-ibmopt-4.0.0a3.tar.gz from build tracker '/tmp/pip-build-tracker-l701jiuj' 2023-09-10T17:12:28,199 Removed build tracker: '/tmp/pip-build-tracker-l701jiuj'