2023-09-23T19:08:22,329 Created temporary directory: /tmp/pip-build-tracker-cs1gjsz0 2023-09-23T19:08:22,330 Initialized build tracking at /tmp/pip-build-tracker-cs1gjsz0 2023-09-23T19:08:22,330 Created build tracker: /tmp/pip-build-tracker-cs1gjsz0 2023-09-23T19:08:22,331 Entered build tracker: /tmp/pip-build-tracker-cs1gjsz0 2023-09-23T19:08:22,332 Created temporary directory: /tmp/pip-wheel-a0hdxvfu 2023-09-23T19:08:22,334 Created temporary directory: /tmp/pip-ephem-wheel-cache-kmmw77bx 2023-09-23T19:08:22,356 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-23T19:08:22,360 2 location(s) to search for versions of tensorrt: 2023-09-23T19:08:22,360 * https://pypi.org/simple/tensorrt/ 2023-09-23T19:08:22,360 * https://www.piwheels.org/simple/tensorrt/ 2023-09-23T19:08:22,360 Fetching project page and analyzing links: https://pypi.org/simple/tensorrt/ 2023-09-23T19:08:22,361 Getting page https://pypi.org/simple/tensorrt/ 2023-09-23T19:08:22,363 Found index url https://pypi.org/simple/ 2023-09-23T19:08:22,501 Fetched page https://pypi.org/simple/tensorrt/ as application/vnd.pypi.simple.v1+json 2023-09-23T19:08:22,507 Found link https://files.pythonhosted.org/packages/47/85/3565669797b70153162a7a704a6b52d5f9be50f4349a62992f5523736f97/tensorrt-0.0.1.dev5.tar.gz (from https://pypi.org/simple/tensorrt/), version: 0.0.1.dev5 2023-09-23T19:08:22,508 Found link https://files.pythonhosted.org/packages/b0/9b/0588892fb68abccfaf26e56fc3c45a3cab3638ad8b488302fdbfce655455/tensorrt-0.0.1.tar.gz (from https://pypi.org/simple/tensorrt/), version: 0.0.1 2023-09-23T19:08:22,508 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/67/a3/ce6be702145340eee2f3ca57a7acd65d7c4aa1652afbe54d741354d23c50/tensorrt-8.5.1.7-cp310-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,509 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/c5/40/a30bfbe5b041247acf0bda5c36ada03c2fea699e397be5eb62848433a4bf/tensorrt-8.5.1.7-cp36-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,509 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/95/37/71c8e660bb89fd32877cf85722a79245a98bdd1c40f76ae8c588b08d2115/tensorrt-8.5.1.7-cp37-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,510 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/04/e1/2249c72a69c355140039767ad4f0664df3d27f4b509c2506e6f845f69f6f/tensorrt-8.5.1.7-cp38-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,511 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/8f/9c/0ea2cf5220d3b34e215d88ca7c22c5743afddde8b0d9283ddadc0ad07893/tensorrt-8.5.1.7-cp39-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,511 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/78/02/dbc1fb8b703f0eb3b20ee5e1007cf87b5f1bd165df1b059e8e578c142da4/tensorrt-8.5.2.2-cp310-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,512 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/e6/f0/55d255046231874c2f1b02395a2d7197bb7b90a05e8f78d33edead1edb04/tensorrt-8.5.2.2-cp36-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,513 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/0c/44/9cfe99bb2efbc8303cb51ec5b81d98580ef377e280232abf90c6e28357d3/tensorrt-8.5.2.2-cp37-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,513 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/c6/9b/f6880f2518a1a0dc0592149e4d05e6c3bcfe7f4e071201e628bc49ad16a6/tensorrt-8.5.2.2-cp38-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,514 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/16/7f/b64241ace9be285f24d3d508f9453d2fdb885b73caf647a9ac28b5fcbc58/tensorrt-8.5.2.2-cp39-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,515 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/3e/d5/5f9dd454a89f5bf09c3740c649ba6c8dd685cae98a1255299a2e1dbac606/tensorrt-8.5.3.1-cp310-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,515 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/ae/64/952a0ba49b1dbccd7d47f999bbbebb0d7c11b7f45acfca065e1035940d39/tensorrt-8.5.3.1-cp36-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,515 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/83/0c/a4ce5f1dce70ca1f62572c34daccf4940a206940b6dc6f0b670b61cd685c/tensorrt-8.5.3.1-cp37-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,516 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/e2/c4/4b099cdabec1528682a90093359699717b06a61391a5f5f458987654baf9/tensorrt-8.5.3.1-cp38-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,516 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/e7/9d/7e45985e7281590990caf7776ac5799a22214b1a8041a83b2a83cad8cefe/tensorrt-8.5.3.1-cp39-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,517 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/bb/2c/6a2a10cf2133362b1c61087b7ed35c8a52b2eb154a3d5b414920430b9467/tensorrt-8.6.0-cp310-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,517 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/49/46/7fe5ef71b582cad770a3bb2af87bc9aee7095caeb0dee639a1ba3600f69c/tensorrt-8.6.0-cp36-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,518 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/5e/51/91d02fb45c0055293f53ac8202229eee37c76b4b61fd370f41d60def36c1/tensorrt-8.6.0-cp37-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,518 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/f5/c7/260676e8490eb768193f1c30c9e9c43fb916d316af057ff5547539634d52/tensorrt-8.6.0-cp38-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,519 Skipping link: No binaries permitted for tensorrt: https://files.pythonhosted.org/packages/11/2c/71f54e49c4e25b15aebf11f942e0f9741cb9280ee0bfb5e7eb166f5852a6/tensorrt-8.6.0-cp39-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt/) 2023-09-23T19:08:22,520 Found link https://files.pythonhosted.org/packages/25/d8/081cb57cd77e4be6ce55462b51938b00ac570076f37aade5f5c3cdfa8f82/tensorrt-8.6.1.tar.gz (from https://pypi.org/simple/tensorrt/), version: 8.6.1 2023-09-23T19:08:22,521 Found link https://files.pythonhosted.org/packages/46/08/da496b4f20890b6f717f159bbdda98e9248b560e712aa22cd9bb1daafe15/tensorrt-8.6.1.post1.tar.gz (from https://pypi.org/simple/tensorrt/) (requires-python:>=3.6), version: 8.6.1.post1 2023-09-23T19:08:22,521 Found link https://files.pythonhosted.org/packages/84/e2/5a98c816bce3d37d732584a5045ed5b027fa27bdce4aeac8418d3edaab96/tensorrt-9.0.0.post11.dev1.tar.gz (from https://pypi.org/simple/tensorrt/), version: 9.0.0.post11.dev1 2023-09-23T19:08:22,522 Found link https://files.pythonhosted.org/packages/af/d6/1a579d718a3e7dea8611ca9a838ee3af647f00deaf5f565c3f60d58db564/tensorrt-9.0.0.post12.dev1.tar.gz (from https://pypi.org/simple/tensorrt/), version: 9.0.0.post12.dev1 2023-09-23T19:08:22,523 Found link https://files.pythonhosted.org/packages/3a/01/a13d039bce08a4ab4deecf0c95cba535e14311b6e6bda61300875140ca9d/tensorrt-9.0.1.post11.dev4.tar.gz (from https://pypi.org/simple/tensorrt/), version: 9.0.1.post11.dev4 2023-09-23T19:08:22,523 Found link https://files.pythonhosted.org/packages/bb/d3/fca8ddf96e4d8b226618d7fb973594f73c1bc882bd82f85e9671e0b77160/tensorrt-9.0.1.post12.dev4.tar.gz (from https://pypi.org/simple/tensorrt/), version: 9.0.1.post12.dev4 2023-09-23T19:08:22,525 Fetching project page and analyzing links: https://www.piwheels.org/simple/tensorrt/ 2023-09-23T19:08:22,525 Getting page https://www.piwheels.org/simple/tensorrt/ 2023-09-23T19:08:22,526 Found index url https://www.piwheels.org/simple/ 2023-09-23T19:08:22,691 Fetched page https://www.piwheels.org/simple/tensorrt/ as text/html 2023-09-23T19:08:22,692 Skipping link: No binaries permitted for tensorrt: https://www.piwheels.org/simple/tensorrt/tensorrt-0.0.1-py3-none-any.whl#sha256=8b10d273a2e9b6a0cd2f301edb5cbc7ad13744b11fc47c0b471afab1b52385a2 (from https://www.piwheels.org/simple/tensorrt/) 2023-09-23T19:08:22,693 Skipping link: not a file: https://www.piwheels.org/simple/tensorrt/ 2023-09-23T19:08:22,693 Skipping link: not a file: https://pypi.org/simple/tensorrt/ 2023-09-23T19:08:22,712 Given no hashes to check 1 links for project 'tensorrt': discarding no candidates 2023-09-23T19:08:22,730 Collecting tensorrt==8.6.1 2023-09-23T19:08:22,732 Created temporary directory: /tmp/pip-unpack-xddaec96 2023-09-23T19:08:22,868 Downloading tensorrt-8.6.1.tar.gz (16 kB) 2023-09-23T19:08:22,896 Added tensorrt==8.6.1 from https://files.pythonhosted.org/packages/25/d8/081cb57cd77e4be6ce55462b51938b00ac570076f37aade5f5c3cdfa8f82/tensorrt-8.6.1.tar.gz to build tracker '/tmp/pip-build-tracker-cs1gjsz0' 2023-09-23T19:08:22,897 Running setup.py (path:/tmp/pip-wheel-a0hdxvfu/tensorrt_ce8962c2e0ce465eaeca164e71f2fd11/setup.py) egg_info for package tensorrt 2023-09-23T19:08:22,898 Created temporary directory: /tmp/pip-pip-egg-info-zbj7l8r5 2023-09-23T19:08:22,899 Preparing metadata (setup.py): started 2023-09-23T19:08:22,900 Running command python setup.py egg_info 2023-09-23T19:08:23,879 running egg_info 2023-09-23T19:08:23,880 creating /tmp/pip-pip-egg-info-zbj7l8r5/tensorrt.egg-info 2023-09-23T19:08:23,905 writing /tmp/pip-pip-egg-info-zbj7l8r5/tensorrt.egg-info/PKG-INFO 2023-09-23T19:08:23,908 writing dependency_links to /tmp/pip-pip-egg-info-zbj7l8r5/tensorrt.egg-info/dependency_links.txt 2023-09-23T19:08:23,910 writing requirements to /tmp/pip-pip-egg-info-zbj7l8r5/tensorrt.egg-info/requires.txt 2023-09-23T19:08:23,911 writing top-level names to /tmp/pip-pip-egg-info-zbj7l8r5/tensorrt.egg-info/top_level.txt 2023-09-23T19:08:23,913 writing manifest file '/tmp/pip-pip-egg-info-zbj7l8r5/tensorrt.egg-info/SOURCES.txt' 2023-09-23T19:08:23,991 reading manifest file '/tmp/pip-pip-egg-info-zbj7l8r5/tensorrt.egg-info/SOURCES.txt' 2023-09-23T19:08:23,993 adding license file 'LICENSE.txt' 2023-09-23T19:08:23,994 writing manifest file '/tmp/pip-pip-egg-info-zbj7l8r5/tensorrt.egg-info/SOURCES.txt' 2023-09-23T19:08:24,103 Preparing metadata (setup.py): finished with status 'done' 2023-09-23T19:08:24,106 Source in /tmp/pip-wheel-a0hdxvfu/tensorrt_ce8962c2e0ce465eaeca164e71f2fd11 has version 8.6.1, which satisfies requirement tensorrt==8.6.1 from https://files.pythonhosted.org/packages/25/d8/081cb57cd77e4be6ce55462b51938b00ac570076f37aade5f5c3cdfa8f82/tensorrt-8.6.1.tar.gz 2023-09-23T19:08:24,107 Removed tensorrt==8.6.1 from https://files.pythonhosted.org/packages/25/d8/081cb57cd77e4be6ce55462b51938b00ac570076f37aade5f5c3cdfa8f82/tensorrt-8.6.1.tar.gz from build tracker '/tmp/pip-build-tracker-cs1gjsz0' 2023-09-23T19:08:24,111 Created temporary directory: /tmp/pip-unpack-lwt5u3qd 2023-09-23T19:08:24,112 Created temporary directory: /tmp/pip-unpack-zxjhubgh 2023-09-23T19:08:24,118 Building wheels for collected packages: tensorrt 2023-09-23T19:08:24,122 Created temporary directory: /tmp/pip-wheel-xbvmxib3 2023-09-23T19:08:24,122 Building wheel for tensorrt (setup.py): started 2023-09-23T19:08:24,124 Destination directory: /tmp/pip-wheel-xbvmxib3 2023-09-23T19:08:24,124 Running command python setup.py bdist_wheel 2023-09-23T19:08:25,109 running bdist_wheel 2023-09-23T19:08:25,201 running build 2023-09-23T19:08:25,202 running build_py 2023-09-23T19:08:25,228 creating build 2023-09-23T19:08:25,228 creating build/lib 2023-09-23T19:08:25,229 creating build/lib/tensorrt 2023-09-23T19:08:25,230 copying tensorrt/__init__.py -> build/lib/tensorrt 2023-09-23T19:08:25,231 running egg_info 2023-09-23T19:08:25,286 writing tensorrt.egg-info/PKG-INFO 2023-09-23T19:08:25,289 writing dependency_links to tensorrt.egg-info/dependency_links.txt 2023-09-23T19:08:25,291 writing requirements to tensorrt.egg-info/requires.txt 2023-09-23T19:08:25,292 writing top-level names to tensorrt.egg-info/top_level.txt 2023-09-23T19:08:25,319 reading manifest file 'tensorrt.egg-info/SOURCES.txt' 2023-09-23T19:08:25,321 adding license file 'LICENSE.txt' 2023-09-23T19:08:25,322 writing manifest file 'tensorrt.egg-info/SOURCES.txt' 2023-09-23T19:08:25,326 /usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2023-09-23T19:08:25,326 !! 2023-09-23T19:08:25,327 ******************************************************************************** 2023-09-23T19:08:25,327 Please avoid running ``setup.py`` directly. 2023-09-23T19:08:25,328 Instead, use pypa/build, pypa/installer or other 2023-09-23T19:08:25,328 standards-based tools. 2023-09-23T19:08:25,329 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2023-09-23T19:08:25,330 ******************************************************************************** 2023-09-23T19:08:25,331 !! 2023-09-23T19:08:25,331 self.initialize_options() 2023-09-23T19:08:25,349 installing to build/bdist.linux-armv7l/wheel 2023-09-23T19:08:25,350 running install 2023-09-23T19:08:26,522 error: externally-managed-environment 2023-09-23T19:08:26,523 × This environment is externally managed 2023-09-23T19:08:26,523 ╰─> To install Python packages system-wide, try apt install 2023-09-23T19:08:26,524 python3-xyz, where xyz is the package you are trying to 2023-09-23T19:08:26,524 install. 2023-09-23T19:08:26,526 If you wish to install a non-Debian-packaged Python package, 2023-09-23T19:08:26,526 create a virtual environment using python3 -m venv path/to/venv. 2023-09-23T19:08:26,527 Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make 2023-09-23T19:08:26,528 sure you have python3-full installed. 2023-09-23T19:08:26,529 If you wish to install a non-Debian packaged Python application, 2023-09-23T19:08:26,530 it may be easiest to use pipx install xyz, which will manage a 2023-09-23T19:08:26,531 virtual environment for you. Make sure you have pipx installed. 2023-09-23T19:08:26,532 See /usr/share/doc/python3.11/README.venv for more information. 2023-09-23T19:08:26,533 note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. 2023-09-23T19:08:26,533 hint: See PEP 668 for the detailed specification. 2023-09-23T19:08:27,250 Traceback (most recent call last): 2023-09-23T19:08:27,250 File "", line 2, in 2023-09-23T19:08:27,251 File "", line 34, in 2023-09-23T19:08:27,252 File "/tmp/pip-wheel-a0hdxvfu/tensorrt_ce8962c2e0ce465eaeca164e71f2fd11/setup.py", line 49, in 2023-09-23T19:08:27,252 setup( 2023-09-23T19:08:27,253 File "/usr/local/lib/python3.11/dist-packages/setuptools/__init__.py", line 103, in setup 2023-09-23T19:08:27,253 return distutils.core.setup(**attrs) 2023-09-23T19:08:27,254 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-23T19:08:27,255 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 185, in setup 2023-09-23T19:08:27,255 return run_commands(dist) 2023-09-23T19:08:27,256 ^^^^^^^^^^^^^^^^^^ 2023-09-23T19:08:27,257 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands 2023-09-23T19:08:27,257 dist.run_commands() 2023-09-23T19:08:27,258 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands 2023-09-23T19:08:27,258 self.run_command(cmd) 2023-09-23T19:08:27,259 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-23T19:08:27,259 super().run_command(command) 2023-09-23T19:08:27,259 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-23T19:08:27,260 cmd_obj.run() 2023-09-23T19:08:27,260 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 360, in run 2023-09-23T19:08:27,261 self.run_command("install") 2023-09-23T19:08:27,262 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-23T19:08:27,262 self.distribution.run_command(command) 2023-09-23T19:08:27,263 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-23T19:08:27,264 super().run_command(command) 2023-09-23T19:08:27,265 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-23T19:08:27,265 cmd_obj.run() 2023-09-23T19:08:27,266 File "/tmp/pip-wheel-a0hdxvfu/tensorrt_ce8962c2e0ce465eaeca164e71f2fd11/setup.py", line 43, in run 2023-09-23T19:08:27,267 install_dep("{:}_libs".format(tensorrt_module)) 2023-09-23T19:08:27,268 File "/tmp/pip-wheel-a0hdxvfu/tensorrt_ce8962c2e0ce465eaeca164e71f2fd11/setup.py", line 41, in install_dep 2023-09-23T19:08:27,268 status.check_returncode() 2023-09-23T19:08:27,269 File "/usr/lib/python3.11/subprocess.py", line 502, in check_returncode 2023-09-23T19:08:27,270 raise CalledProcessError(self.returncode, self.args, self.stdout, 2023-09-23T19:08:27,271 subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', 'install', 'tensorrt_libs==8.6.1', '--index-url', 'https://pypi.nvidia.com']' returned non-zero exit status 1. 2023-09-23T19:08:27,371 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-23T19:08:27,385 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-23T19:08:27,385 exec(compile('"'"''"'"''"'"' 2023-09-23T19:08:27,385 # This is -- a caller that pip uses to run setup.py 2023-09-23T19:08:27,385 # 2023-09-23T19:08:27,385 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-23T19:08:27,385 # import from `distutils.core` to work with newer packaging standards. 2023-09-23T19:08:27,385 # - It provides a clear error message when setuptools is not installed. 2023-09-23T19:08:27,385 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-23T19:08:27,385 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-23T19:08:27,385 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-23T19:08:27,385 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-23T19:08:27,385 import os, sys, tokenize 2023-09-23T19:08:27,385 2023-09-23T19:08:27,385 try: 2023-09-23T19:08:27,385 import setuptools 2023-09-23T19:08:27,385 except ImportError as error: 2023-09-23T19:08:27,385 print( 2023-09-23T19:08:27,385 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-23T19:08:27,385 "the build environment.", 2023-09-23T19:08:27,385 file=sys.stderr, 2023-09-23T19:08:27,385 ) 2023-09-23T19:08:27,385 sys.exit(1) 2023-09-23T19:08:27,385 2023-09-23T19:08:27,385 __file__ = %r 2023-09-23T19:08:27,385 sys.argv[0] = __file__ 2023-09-23T19:08:27,385 2023-09-23T19:08:27,385 if os.path.exists(__file__): 2023-09-23T19:08:27,385 filename = __file__ 2023-09-23T19:08:27,385 with tokenize.open(__file__) as f: 2023-09-23T19:08:27,385 setup_py_code = f.read() 2023-09-23T19:08:27,385 else: 2023-09-23T19:08:27,385 filename = "" 2023-09-23T19:08:27,385 setup_py_code = "from setuptools import setup; setup()" 2023-09-23T19:08:27,385 2023-09-23T19:08:27,385 exec(compile(setup_py_code, filename, "exec")) 2023-09-23T19:08:27,385 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-a0hdxvfu/tensorrt_ce8962c2e0ce465eaeca164e71f2fd11/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-xbvmxib3[/] 2023-09-23T19:08:27,385 [bold magenta]cwd[/]: /tmp/pip-wheel-a0hdxvfu/tensorrt_ce8962c2e0ce465eaeca164e71f2fd11/ 2023-09-23T19:08:27,386 Building wheel for tensorrt (setup.py): finished with status 'error' 2023-09-23T19:08:27,388 ERROR: Failed building wheel for tensorrt 2023-09-23T19:08:27,389 Running setup.py clean for tensorrt 2023-09-23T19:08:27,390 Running command python setup.py clean 2023-09-23T19:08:28,418 running clean 2023-09-23T19:08:28,465 removing 'build/lib' (and everything under it) 2023-09-23T19:08:28,467 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-23T19:08:28,468 'build/scripts-3.11' does not exist -- can't clean it 2023-09-23T19:08:28,468 removing 'build' 2023-09-23T19:08:28,574 Failed to build tensorrt 2023-09-23T19:08:28,576 ERROR: Failed to build one or more wheels 2023-09-23T19:08:28,577 Exception information: 2023-09-23T19:08:28,577 Traceback (most recent call last): 2023-09-23T19:08:28,577 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-23T19:08:28,577 status = run_func(*args) 2023-09-23T19:08:28,577 ^^^^^^^^^^^^^^^ 2023-09-23T19:08:28,577 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-23T19:08:28,577 return func(self, options, args) 2023-09-23T19:08:28,577 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-23T19:08:28,577 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-23T19:08:28,577 raise CommandError("Failed to build one or more wheels") 2023-09-23T19:08:28,577 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-23T19:08:28,580 Removed build tracker: '/tmp/pip-build-tracker-cs1gjsz0'