Unable to install TensorRT for Ubuntu 22.04 LTS

The module python3-libnvinfer need a python version <= 3.9
But Ubuntu 22.04 has a default python version 3.10
When will the new version of TensorRT for Ubuntu 22.04 be published?


This support may be added in the 8.5 version which is tentatively available by this month’s end or by mid of the next month.
Meanwhile, you can try degrading the python version or use the TensorRT NGC container.

Thank you.

Is there any update on this issue? It looks like Python 3.10 support was not added to version 8.5. Are there any plans to add it in future versions?

Please refer to below links related custom plugin implementation and sample:

While IPluginV2 and IPluginV2Ext interfaces are still supported for backward compatibility with TensorRT 5.1 and 6.0.x respectively, however, we recommend that you write new plugins or refactor existing ones to target the IPluginV2DynamicExt or IPluginV2IOExt interfaces instead.


Perhaps I am missing something, but neither link seems to answer my question. My question is “when will libnvinfer support Python 3.10?” To be more specific, I am talking about the packages python3-libnvinfer and python3-libnvinfer-dev in Ubuntu 22.10.