Tensorrt install error on jetson xiaver nx

An error occurred while installing tensorrt wheel. I used the link as a reference.
(Installation Guide :: NVIDIA Deep Learning TensorRT Documentation)

The attached text is the result of python3 -m pip install --upgrade tensorrt and the information obtained from jetson_release which is helpful.

jetson016@ubuntu:~$ python3 -m pip install --upgrade tensorrt
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: Simple index, https://pypi.ngc.nvidia.com
Requirement already satisfied: tensorrt in /usr/lib/python3.8/dist-packages (8.5.2.2)
Collecting tensorrt
Downloading tensorrt-8.6.1.post1.tar.gz (18 kB)
Preparing metadata (setup.py) … done
Building wheels for collected packages: tensorrt
Building wheel for tensorrt (setup.py) … error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [89 lines of output]
/usr/local/lib/python3.8/dist-packages/setuptools/init.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

          ********************************************************************************
          Requirements should be satisfied by a PEP 517 installer.
          If you are using pip, you can try `pip install --use-pep517`.
          ********************************************************************************
  
  !!
    dist.fetch_build_eggs(dist.setup_requires)
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  creating build/lib/tensorrt
  copying tensorrt/__init__.py -> build/lib/tensorrt
  running egg_info
  writing tensorrt.egg-info/PKG-INFO
  writing dependency_links to tensorrt.egg-info/dependency_links.txt
  writing requirements to tensorrt.egg-info/requires.txt
  writing top-level names to tensorrt.egg-info/top_level.txt
  reading manifest file 'tensorrt.egg-info/SOURCES.txt'
  adding license file 'LICENSE.txt'
  writing manifest file 'tensorrt.egg-info/SOURCES.txt'
  /usr/local/lib/python3.8/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
  !!
  
          ********************************************************************************
          Please avoid running ``setup.py`` directly.
          Instead, use pypa/build, pypa/installer or other
          standards-based tools.
  
          See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
          ********************************************************************************
  
  !!
    self.initialize_options()
  installing to build/bdist.linux-aarch64/wheel
  running install
  Defaulting to user installation because normal site-packages is not writeable
  Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com, https://pypi.nvidia.com
  ERROR: Could not find a version that satisfies the requirement tensorrt_libs==8.6.1 (from versions: 9.0.0.post11.dev1, 9.0.0.post12.dev1, 9.0.1.post11.dev4, 9.0.1.post12.dev4, 9.1.0.post11.dev4, 9.1.0.post12.dev4, 9.2.0.post11.dev5, 9.2.0.post12.dev5)
  ERROR: No matching distribution found for tensorrt_libs==8.6.1
  Defaulting to user installation because normal site-packages is not writeable
  Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com, https://pypi.nvidia.com
  ERROR: Could not find a version that satisfies the requirement tensorrt_libs==8.6.1 (from versions: 9.0.0.post11.dev1, 9.0.0.post12.dev1, 9.0.1.post11.dev4, 9.0.1.post12.dev4, 9.1.0.post11.dev4, 9.1.0.post12.dev4, 9.2.0.post11.dev5, 9.2.0.post12.dev5)
  ERROR: No matching distribution found for tensorrt_libs==8.6.1
  Traceback (most recent call last):
    File "/tmp/pip-install-7d1c6yid/tensorrt_bdb405844433458aadb7391f974ab634/setup.py", line 40, in run_pip_command
      return call_func([sys.executable, "-m", "pip"] + args, env=env)
    File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', 'install', '--extra-index-url', 'https://pypi.nvidia.com', 'tensorrt_libs==8.6.1', 'tensorrt_bindings==8.6.1']' returned non-zero exit status 1.
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/tmp/pip-install-7d1c6yid/tensorrt_bdb405844433458aadb7391f974ab634/setup.py", line 110, in <module>
      setup(
    File "/usr/local/lib/python3.8/dist-packages/setuptools/__init__.py", line 103, in setup
      return distutils.core.setup(**attrs)
    File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
    File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 963, in run_command
      super().run_command(command)
    File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/jetson016/.local/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 403, in run
      self.run_command("install")
    File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 963, in run_command
      super().run_command(command)
    File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-7d1c6yid/tensorrt_bdb405844433458aadb7391f974ab634/setup.py", line 62, in run
      run_pip_command(
    File "/tmp/pip-install-7d1c6yid/tensorrt_bdb405844433458aadb7391f974ab634/setup.py", line 56, in run_pip_command
      return call_func([pip_path] + args, env=env)
    File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['/usr/local/bin/pip', 'install', '--extra-index-url', 'https://pypi.nvidia.com', 'tensorrt_libs==8.6.1', 'tensorrt_bindings==8.6.1']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tensorrt
Running setup.py clean for tensorrt
Failed to build tensorrt
ERROR: Could not build wheels for tensorrt, which is required to install pyproject.toml-based projects

jetson016@ubuntu:~$ jetson_release
Software part of jetson-stats 4.2.3 - (c) 2023, Raffaello Bonghi
Model: NVIDIA Jetson Xavier NX Developer Kit - Jetpack 5.1.2 [L4T 35.4.1]
NV Power Mode[5]: MODE_10W_DESKTOP
Serial Number: [XXX Show with: jetson_release -s XXX]
Hardware:

  • P-Number: p3668-0003
  • Module: NVIDIA Jetson Xavier NX (16GB ram)
    Platform:
  • Distribution: Ubuntu 20.04 focal
  • Release: 5.10.120-tegra
    jtop:
  • Version: 4.2.3
  • Service: Active
    Libraries:
  • CUDA: 11.4.315
  • cuDNN: 8.6.0.166
  • TensorRT: 5.1.2
  • VPI: 2.3.9
  • Vulkan: 1.3.204
  • OpenCV: 4.5.4 - with CUDA: NO