# No module named 'tensorrt'

**URL:** https://forums.developer.nvidia.com/t/no-module-named-tensorrt/241728
**Category:** Jetson AGX Orin
**Tags:** nvbugs, tensorrt
**Created:** [February 5, 2023, 11:22pm UTC](https://forums.developer.nvidia.com/t/no-module-named-tensorrt/241728 "2023-02-05T23:22:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![wesley3](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@wesley3](https://forums.developer.nvidia.com/u/wesley3)
#### Post date: [February 5, 2023, 11:22pm UTC](https://forums.developer.nvidia.com/t/no-module-named-tensorrt/241728/1 "2023-02-05T23:22:05Z")

</div>

I have a Jetson Orin development kit and just upgraded to Jetpack 5.1

Now when I attempt to import tensorrt in python, it fails with the error “ModuleNotFoundError: No module named ‘tensorrt’”

![image](https://global.discourse-cdn.com/nvidia/original/3X/b/d/bdd52eff5ac27222285e57f2259ec6d1b5a0b049.png)

Previous topic which I am still trying to solve: [Trtexec Internal Error (Symbolic relation a.z \>= 0 is always false. )](https://forums.developer.nvidia.com/t/trtexec-internal-error-symbolic-relation-a-z-0-is-always-false/237317)

---

<div class="post-metadata">

### Author: ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)
#### Post date: [February 6, 2023, 3:08am UTC](https://forums.developer.nvidia.com/t/no-module-named-tensorrt/241728/3 "2023-02-06T03:08:55Z")

</div>

Hi,

Please try the following command to install the python binding for TensorRT.

```auto
$ sudo apt install python3-libnvinfer*

```

We are checking why the python binding is not installed by default with our internal team.  
Will share more information with you later.

Thanks.

---

<div class="post-metadata">

### Author: ![wesley3](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@wesley3](https://forums.developer.nvidia.com/u/wesley3)
#### Post date: [February 6, 2023, 3:26am UTC](https://forums.developer.nvidia.com/t/no-module-named-tensorrt/241728/5 "2023-02-06T03:26:35Z")

</div>

Worked like a charm, thank you!

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)
#### Post date: [March 7, 2023, 3:45am UTC](https://forums.developer.nvidia.com/t/no-module-named-tensorrt/241728/7 "2023-03-07T03:45:35Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
