Failure of TensorRT 10.5 to install when building on AGX Jetson
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 13.4k
- Forks
- 2.4k
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 2
Description
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 "", line 2, in
File "", line 34, in
File "/tmp/pip-install-vat_hkn8/tensorrt-cu12_71c17ab2858443af8b1c6b5210714b49/setup.py", line 69, in
raise RuntimeError("TensorRT does not currently build wheels for Tegra systems")
RuntimeError: TensorRT does not currently build wheels for Tegra systems
[end of output]
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the tensorrt-cu12 setup.py referenced in the traceback, especially the metadata-generation path at line 69, and review how pip selects tensorrt-cu12 for the reported command. Compare that behavior with the Python 3.8, JetPack 5.1.2, and AGX Jetson environment; done means the installation failure is resolved or the supported installation limitation is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100