TensorRT
TensorRT copied to clipboard
Failure of TensorRT 10.5 to install when building on AGX Jetson
Description
Tried to install tensorrt on AGX Jetson
Environment
Python: 3.8 Torch: 2.0 (for Jetson) Jetpack 5.1.2 Pip: 24
Steps To Reproduce
pip install tensorrt -->
Commands or scripts:
pip install tensorrt==10.1 Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com Collecting tensorrt==10.1 Downloading tensorrt-10.1.0.tar.gz (16 kB) Preparing metadata (setup.py) ... done Collecting tensorrt-cu12 (from tensorrt==10.1) Downloading tensorrt-cu12-10.5.0.tar.gz (18 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
NOTE Basically I cannot install tensorrt on AGX Jetson anymore, and I cannot find a solution for the given error message online.