2023-09-23T19:08:18,697 Created temporary directory: /tmp/pip-build-tracker-cbqfiqaw 2023-09-23T19:08:18,698 Initialized build tracking at /tmp/pip-build-tracker-cbqfiqaw 2023-09-23T19:08:18,699 Created build tracker: /tmp/pip-build-tracker-cbqfiqaw 2023-09-23T19:08:18,699 Entered build tracker: /tmp/pip-build-tracker-cbqfiqaw 2023-09-23T19:08:18,700 Created temporary directory: /tmp/pip-wheel-iaw8bcnj 2023-09-23T19:08:18,703 Created temporary directory: /tmp/pip-ephem-wheel-cache-pcohdtif 2023-09-23T19:08:18,724 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-23T19:08:18,728 2 location(s) to search for versions of tensorrt-lean: 2023-09-23T19:08:18,728 * https://pypi.org/simple/tensorrt-lean/ 2023-09-23T19:08:18,728 * https://www.piwheels.org/simple/tensorrt-lean/ 2023-09-23T19:08:18,729 Fetching project page and analyzing links: https://pypi.org/simple/tensorrt-lean/ 2023-09-23T19:08:18,730 Getting page https://pypi.org/simple/tensorrt-lean/ 2023-09-23T19:08:18,731 Found index url https://pypi.org/simple/ 2023-09-23T19:08:18,950 Fetched page https://pypi.org/simple/tensorrt-lean/ as application/vnd.pypi.simple.v1+json 2023-09-23T19:08:18,953 Skipping link: No binaries permitted for tensorrt-lean: https://files.pythonhosted.org/packages/8a/9b/d52e9e41da630ae1691b3687ebb96a8aa3a28523c7493a1e1a2d25188f36/tensorrt_lean-8.6.0-cp310-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt-lean/) 2023-09-23T19:08:18,953 Skipping link: No binaries permitted for tensorrt-lean: https://files.pythonhosted.org/packages/a2/80/5faa159c5b966670b6d0deaefb99d0c3877206195a9dff941b07a13eac5b/tensorrt_lean-8.6.0-cp36-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt-lean/) 2023-09-23T19:08:18,954 Skipping link: No binaries permitted for tensorrt-lean: https://files.pythonhosted.org/packages/c4/03/60aeaeda9ae1fb997ee0998b803e80f9e0b53d3cbf4d77d3875a97a6f282/tensorrt_lean-8.6.0-cp37-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt-lean/) 2023-09-23T19:08:18,954 Skipping link: No binaries permitted for tensorrt-lean: https://files.pythonhosted.org/packages/51/85/c72cebd166655d684de11e43a0c9bf563ffe762db03805f6320ccf1a37cc/tensorrt_lean-8.6.0-cp38-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt-lean/) 2023-09-23T19:08:18,955 Skipping link: No binaries permitted for tensorrt-lean: https://files.pythonhosted.org/packages/65/65/cbf3ce80140b85631a150331f6cf957246525d6d7d29bd876bc750f3f24e/tensorrt_lean-8.6.0-cp39-none-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/tensorrt-lean/) 2023-09-23T19:08:18,956 Found link https://files.pythonhosted.org/packages/3a/38/afa9ca9f02e97ca91c33d695279cf03124bdfc627d24221e884b7e62eebb/tensorrt_lean-8.6.1.tar.gz (from https://pypi.org/simple/tensorrt-lean/), version: 8.6.1 2023-09-23T19:08:18,957 Found link https://files.pythonhosted.org/packages/8e/75/394b1ed275d5a79e38362a9a77ead4f8deeb6f4a36b6ac6ce1a309dfe501/tensorrt_lean-8.6.1.post1.tar.gz (from https://pypi.org/simple/tensorrt-lean/) (requires-python:>=3.6), version: 8.6.1.post1 2023-09-23T19:08:18,958 Found link https://files.pythonhosted.org/packages/95/55/3befd9ecdbeb073184218c189940be36f654cb36397546fe1cd4cc48d6a4/tensorrt_lean-9.0.0.post11.dev1.tar.gz (from https://pypi.org/simple/tensorrt-lean/), version: 9.0.0.post11.dev1 2023-09-23T19:08:18,958 Found link https://files.pythonhosted.org/packages/59/58/85281206d30b79c73331cca29fade5201f9b7bcf386085dffa37e7090a22/tensorrt_lean-9.0.0.post12.dev1.tar.gz (from https://pypi.org/simple/tensorrt-lean/), version: 9.0.0.post12.dev1 2023-09-23T19:08:18,959 Found link https://files.pythonhosted.org/packages/95/23/175c29df2474073930c5591e724a314ba12cd32c7d3e356ad130834175bc/tensorrt_lean-9.0.1.post11.dev4.tar.gz (from https://pypi.org/simple/tensorrt-lean/), version: 9.0.1.post11.dev4 2023-09-23T19:08:18,960 Found link https://files.pythonhosted.org/packages/6b/f4/80f31616a0adc262427cb56618ee58161be831c026c06d9a8194671d946d/tensorrt_lean-9.0.1.post12.dev4.tar.gz (from https://pypi.org/simple/tensorrt-lean/), version: 9.0.1.post12.dev4 2023-09-23T19:08:18,961 Fetching project page and analyzing links: https://www.piwheels.org/simple/tensorrt-lean/ 2023-09-23T19:08:18,962 Getting page https://www.piwheels.org/simple/tensorrt-lean/ 2023-09-23T19:08:18,963 Found index url https://www.piwheels.org/simple/ 2023-09-23T19:08:19,125 Fetched page https://www.piwheels.org/simple/tensorrt-lean/ as text/html 2023-09-23T19:08:19,127 Skipping link: not a file: https://www.piwheels.org/simple/tensorrt-lean/ 2023-09-23T19:08:19,127 Skipping link: not a file: https://pypi.org/simple/tensorrt-lean/ 2023-09-23T19:08:19,145 Given no hashes to check 1 links for project 'tensorrt-lean': discarding no candidates 2023-09-23T19:08:19,163 Collecting tensorrt-lean==8.6.1 2023-09-23T19:08:19,166 Created temporary directory: /tmp/pip-unpack-uonqx9m7 2023-09-23T19:08:19,381 Downloading tensorrt_lean-8.6.1.tar.gz (16 kB) 2023-09-23T19:08:19,412 Added tensorrt-lean==8.6.1 from https://files.pythonhosted.org/packages/3a/38/afa9ca9f02e97ca91c33d695279cf03124bdfc627d24221e884b7e62eebb/tensorrt_lean-8.6.1.tar.gz to build tracker '/tmp/pip-build-tracker-cbqfiqaw' 2023-09-23T19:08:19,414 Running setup.py (path:/tmp/pip-wheel-iaw8bcnj/tensorrt-lean_c9a88dc312844a5f9474719fd5424f34/setup.py) egg_info for package tensorrt-lean 2023-09-23T19:08:19,415 Created temporary directory: /tmp/pip-pip-egg-info-qkqwshj2 2023-09-23T19:08:19,415 Preparing metadata (setup.py): started 2023-09-23T19:08:19,417 Running command python setup.py egg_info 2023-09-23T19:08:20,406 running egg_info 2023-09-23T19:08:20,407 creating /tmp/pip-pip-egg-info-qkqwshj2/tensorrt_lean.egg-info 2023-09-23T19:08:20,431 writing /tmp/pip-pip-egg-info-qkqwshj2/tensorrt_lean.egg-info/PKG-INFO 2023-09-23T19:08:20,435 writing dependency_links to /tmp/pip-pip-egg-info-qkqwshj2/tensorrt_lean.egg-info/dependency_links.txt 2023-09-23T19:08:20,437 writing requirements to /tmp/pip-pip-egg-info-qkqwshj2/tensorrt_lean.egg-info/requires.txt 2023-09-23T19:08:20,438 writing top-level names to /tmp/pip-pip-egg-info-qkqwshj2/tensorrt_lean.egg-info/top_level.txt 2023-09-23T19:08:20,439 writing manifest file '/tmp/pip-pip-egg-info-qkqwshj2/tensorrt_lean.egg-info/SOURCES.txt' 2023-09-23T19:08:20,514 reading manifest file '/tmp/pip-pip-egg-info-qkqwshj2/tensorrt_lean.egg-info/SOURCES.txt' 2023-09-23T19:08:20,516 adding license file 'LICENSE.txt' 2023-09-23T19:08:20,517 writing manifest file '/tmp/pip-pip-egg-info-qkqwshj2/tensorrt_lean.egg-info/SOURCES.txt' 2023-09-23T19:08:20,625 Preparing metadata (setup.py): finished with status 'done' 2023-09-23T19:08:20,628 Source in /tmp/pip-wheel-iaw8bcnj/tensorrt-lean_c9a88dc312844a5f9474719fd5424f34 has version 8.6.1, which satisfies requirement tensorrt-lean==8.6.1 from https://files.pythonhosted.org/packages/3a/38/afa9ca9f02e97ca91c33d695279cf03124bdfc627d24221e884b7e62eebb/tensorrt_lean-8.6.1.tar.gz 2023-09-23T19:08:20,629 Removed tensorrt-lean==8.6.1 from https://files.pythonhosted.org/packages/3a/38/afa9ca9f02e97ca91c33d695279cf03124bdfc627d24221e884b7e62eebb/tensorrt_lean-8.6.1.tar.gz from build tracker '/tmp/pip-build-tracker-cbqfiqaw' 2023-09-23T19:08:20,633 Created temporary directory: /tmp/pip-unpack-byawdn35 2023-09-23T19:08:20,634 Created temporary directory: /tmp/pip-unpack-hjs8un7o 2023-09-23T19:08:20,640 Building wheels for collected packages: tensorrt-lean 2023-09-23T19:08:20,644 Created temporary directory: /tmp/pip-wheel-p6yy4mdv 2023-09-23T19:08:20,644 Building wheel for tensorrt-lean (setup.py): started 2023-09-23T19:08:20,645 Destination directory: /tmp/pip-wheel-p6yy4mdv 2023-09-23T19:08:20,646 Running command python setup.py bdist_wheel 2023-09-23T19:08:21,634 running bdist_wheel 2023-09-23T19:08:21,726 running build 2023-09-23T19:08:21,726 running build_py 2023-09-23T19:08:21,752 creating build 2023-09-23T19:08:21,753 creating build/lib 2023-09-23T19:08:21,754 creating build/lib/tensorrt_lean 2023-09-23T19:08:21,755 copying tensorrt_lean/__init__.py -> build/lib/tensorrt_lean 2023-09-23T19:08:21,757 running egg_info 2023-09-23T19:08:21,812 writing tensorrt_lean.egg-info/PKG-INFO 2023-09-23T19:08:21,816 writing dependency_links to tensorrt_lean.egg-info/dependency_links.txt 2023-09-23T19:08:21,817 writing requirements to tensorrt_lean.egg-info/requires.txt 2023-09-23T19:08:21,818 writing top-level names to tensorrt_lean.egg-info/top_level.txt 2023-09-23T19:08:21,845 reading manifest file 'tensorrt_lean.egg-info/SOURCES.txt' 2023-09-23T19:08:21,847 adding license file 'LICENSE.txt' 2023-09-23T19:08:21,848 writing manifest file 'tensorrt_lean.egg-info/SOURCES.txt' 2023-09-23T19:08:21,852 /usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2023-09-23T19:08:21,853 !! 2023-09-23T19:08:21,854 ******************************************************************************** 2023-09-23T19:08:21,855 Please avoid running ``setup.py`` directly. 2023-09-23T19:08:21,856 Instead, use pypa/build, pypa/installer or other 2023-09-23T19:08:21,856 standards-based tools. 2023-09-23T19:08:21,858 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2023-09-23T19:08:21,858 ******************************************************************************** 2023-09-23T19:08:21,859 !! 2023-09-23T19:08:21,860 self.initialize_options() 2023-09-23T19:08:21,878 installing to build/bdist.linux-armv7l/wheel 2023-09-23T19:08:21,879 running install 2023-09-23T19:08:23,095 error: externally-managed-environment 2023-09-23T19:08:23,096 × This environment is externally managed 2023-09-23T19:08:23,096 ╰─> To install Python packages system-wide, try apt install 2023-09-23T19:08:23,097 python3-xyz, where xyz is the package you are trying to 2023-09-23T19:08:23,098 install. 2023-09-23T19:08:23,099 If you wish to install a non-Debian-packaged Python package, 2023-09-23T19:08:23,099 create a virtual environment using python3 -m venv path/to/venv. 2023-09-23T19:08:23,100 Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make 2023-09-23T19:08:23,101 sure you have python3-full installed. 2023-09-23T19:08:23,102 If you wish to install a non-Debian packaged Python application, 2023-09-23T19:08:23,102 it may be easiest to use pipx install xyz, which will manage a 2023-09-23T19:08:23,103 virtual environment for you. Make sure you have pipx installed. 2023-09-23T19:08:23,104 See /usr/share/doc/python3.11/README.venv for more information. 2023-09-23T19:08:23,105 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:23,106 hint: See PEP 668 for the detailed specification. 2023-09-23T19:08:23,787 Traceback (most recent call last): 2023-09-23T19:08:23,787 File "", line 2, in 2023-09-23T19:08:23,788 File "", line 34, in 2023-09-23T19:08:23,789 File "/tmp/pip-wheel-iaw8bcnj/tensorrt-lean_c9a88dc312844a5f9474719fd5424f34/setup.py", line 49, in 2023-09-23T19:08:23,789 setup( 2023-09-23T19:08:23,790 File "/usr/local/lib/python3.11/dist-packages/setuptools/__init__.py", line 103, in setup 2023-09-23T19:08:23,790 return distutils.core.setup(**attrs) 2023-09-23T19:08:23,791 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-23T19:08:23,791 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 185, in setup 2023-09-23T19:08:23,792 return run_commands(dist) 2023-09-23T19:08:23,793 ^^^^^^^^^^^^^^^^^^ 2023-09-23T19:08:23,793 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands 2023-09-23T19:08:23,794 dist.run_commands() 2023-09-23T19:08:23,795 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands 2023-09-23T19:08:23,796 self.run_command(cmd) 2023-09-23T19:08:23,796 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-23T19:08:23,797 super().run_command(command) 2023-09-23T19:08:23,797 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-23T19:08:23,798 cmd_obj.run() 2023-09-23T19:08:23,798 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 360, in run 2023-09-23T19:08:23,799 self.run_command("install") 2023-09-23T19:08:23,800 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-23T19:08:23,801 self.distribution.run_command(command) 2023-09-23T19:08:23,802 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-23T19:08:23,802 super().run_command(command) 2023-09-23T19:08:23,803 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-23T19:08:23,804 cmd_obj.run() 2023-09-23T19:08:23,805 File "/tmp/pip-wheel-iaw8bcnj/tensorrt-lean_c9a88dc312844a5f9474719fd5424f34/setup.py", line 43, in run 2023-09-23T19:08:23,805 install_dep("{:}_libs".format(tensorrt_module)) 2023-09-23T19:08:23,806 File "/tmp/pip-wheel-iaw8bcnj/tensorrt-lean_c9a88dc312844a5f9474719fd5424f34/setup.py", line 41, in install_dep 2023-09-23T19:08:23,807 status.check_returncode() 2023-09-23T19:08:23,808 File "/usr/lib/python3.11/subprocess.py", line 502, in check_returncode 2023-09-23T19:08:23,808 raise CalledProcessError(self.returncode, self.args, self.stdout, 2023-09-23T19:08:23,809 subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', 'install', 'tensorrt_lean_libs==8.6.1', '--index-url', 'https://pypi.nvidia.com']' returned non-zero exit status 1. 2023-09-23T19:08:23,908 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-23T19:08:23,921 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-23T19:08:23,921 exec(compile('"'"''"'"''"'"' 2023-09-23T19:08:23,921 # This is -- a caller that pip uses to run setup.py 2023-09-23T19:08:23,921 # 2023-09-23T19:08:23,921 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-23T19:08:23,921 # import from `distutils.core` to work with newer packaging standards. 2023-09-23T19:08:23,921 # - It provides a clear error message when setuptools is not installed. 2023-09-23T19:08:23,921 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-23T19:08:23,921 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-23T19:08:23,921 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-23T19:08:23,921 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-23T19:08:23,921 import os, sys, tokenize 2023-09-23T19:08:23,921 2023-09-23T19:08:23,921 try: 2023-09-23T19:08:23,921 import setuptools 2023-09-23T19:08:23,921 except ImportError as error: 2023-09-23T19:08:23,921 print( 2023-09-23T19:08:23,921 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-23T19:08:23,921 "the build environment.", 2023-09-23T19:08:23,921 file=sys.stderr, 2023-09-23T19:08:23,921 ) 2023-09-23T19:08:23,921 sys.exit(1) 2023-09-23T19:08:23,921 2023-09-23T19:08:23,921 __file__ = %r 2023-09-23T19:08:23,921 sys.argv[0] = __file__ 2023-09-23T19:08:23,921 2023-09-23T19:08:23,921 if os.path.exists(__file__): 2023-09-23T19:08:23,921 filename = __file__ 2023-09-23T19:08:23,921 with tokenize.open(__file__) as f: 2023-09-23T19:08:23,921 setup_py_code = f.read() 2023-09-23T19:08:23,921 else: 2023-09-23T19:08:23,921 filename = "" 2023-09-23T19:08:23,921 setup_py_code = "from setuptools import setup; setup()" 2023-09-23T19:08:23,921 2023-09-23T19:08:23,921 exec(compile(setup_py_code, filename, "exec")) 2023-09-23T19:08:23,921 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-iaw8bcnj/tensorrt-lean_c9a88dc312844a5f9474719fd5424f34/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-p6yy4mdv[/] 2023-09-23T19:08:23,922 [bold magenta]cwd[/]: /tmp/pip-wheel-iaw8bcnj/tensorrt-lean_c9a88dc312844a5f9474719fd5424f34/ 2023-09-23T19:08:23,923 Building wheel for tensorrt-lean (setup.py): finished with status 'error' 2023-09-23T19:08:23,924 ERROR: Failed building wheel for tensorrt-lean 2023-09-23T19:08:23,925 Running setup.py clean for tensorrt-lean 2023-09-23T19:08:23,926 Running command python setup.py clean 2023-09-23T19:08:24,904 running clean 2023-09-23T19:08:24,949 removing 'build/lib' (and everything under it) 2023-09-23T19:08:24,951 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-23T19:08:24,951 'build/scripts-3.11' does not exist -- can't clean it 2023-09-23T19:08:24,952 removing 'build' 2023-09-23T19:08:25,057 Failed to build tensorrt-lean 2023-09-23T19:08:25,058 ERROR: Failed to build one or more wheels 2023-09-23T19:08:25,060 Exception information: 2023-09-23T19:08:25,060 Traceback (most recent call last): 2023-09-23T19:08:25,060 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-23T19:08:25,060 status = run_func(*args) 2023-09-23T19:08:25,060 ^^^^^^^^^^^^^^^ 2023-09-23T19:08:25,060 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-23T19:08:25,060 return func(self, options, args) 2023-09-23T19:08:25,060 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-23T19:08:25,060 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-23T19:08:25,060 raise CommandError("Failed to build one or more wheels") 2023-09-23T19:08:25,060 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-23T19:08:25,063 Removed build tracker: '/tmp/pip-build-tracker-cbqfiqaw'