Hey,
have been trying to install tensorrt on the new Orin NX 16 GB. I am using Jetpack 5.1. Although the jetpack comes with the tensorrt libraries and can be installed using those, i am unable to install it’s Python APIs.
Jetpack: 5.1 which includes CUDA 11.4, TensorRT 8.5.2, cuDNN 8.6.0 and VPI 2.2
Python: 3.8
Running this in a conda env. Can share the environment.yml file to recreate the env.
Steps To Reproduce
Started with: $ pip install tensorrt_libs
"
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “/tmp/pip-install-0vapn2ox/tensorrt-libs_3fc61b4addab4290925137477c5d20f8/setup.py”, line 137, in
raise RuntimeError(open(“ERROR.txt”, “r”).read())
RuntimeError:
###########################################################################################
The package you are trying to install is only a placeholder project on PyPI.org repository.
This package is hosted on NVIDIA Python Package Index.
This package can be installed as:
```
$ pip install --extra-index-url https://pypi.nvidia.com tensorrt-libs
```
###########################################################################################
[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.
"
In trying to figure out, tried:
- pip install python3-libnvinfer
raised error->
"ERROR: Could not find a version that satisfies the requirement python3-libnvinfer (from versions: none)
ERROR: No matching distribution found for python3-libnvinfer
"
2. Got to know that, some packages are typically provided through the NVIDIA package manager, which is specific to the JetPack version.
Tried: Adding the NVIDIA Repo key using the command,
wget https://developer.download.nvidia.com/embedded/L4T/r32_Release_v6.1/jetson-ota-public.asc
got the error->
"Connecting to developer.download.nvidia.com (developer.download.nvidia.com)|152.199.39.144|:443… connected.
HTTP request sent, awaiting response… 404 Not Found
2023-06-21 15:24:12 ERROR 404: Not Found.
"
Let me know if these steps are correct, or if i need to correct some command. I am still stuck in this, so any help would be great. Also, let me know if you guys need any additional data.