# hello, how to install tensorrt in xavier, I have uninstalled the automotive installation one ?

**URL:** <https://forums.developer.nvidia.com/t/hello-how-to-install-tensorrt-in-xavier-i-have-uninstalled-the-automotive-installation-one/107263>\
**Category:** Jetson AGX Xavier\
**Created:** [November 12, 2019, 8:09am UTC](https://forums.developer.nvidia.com/t/hello-how-to-install-tensorrt-in-xavier-i-have-uninstalled-the-automotive-installation-one/107263 "2019-11-12T08:09:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![guozr123](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@guozr123](https://forums.developer.nvidia.com/u/guozr123)\
**Post date:** [November 12, 2019, 8:09am UTC](https://forums.developer.nvidia.com/t/hello-how-to-install-tensorrt-in-xavier-i-have-uninstalled-the-automotive-installation-one/107263/1 "2019-11-12T08:09:35Z")

</div>

In order to try other version of tensorrt, I have uninstall the tensorrt which installed in the xavier automotive. (the version I uninstall is 5.1.6)  
and I want to install the tensorrt version 5.0.2.6, I have download the software and installation well but when I tried to import the model, it shows error:

> > > import tensorrt  
> > > Traceback (most recent call last):  
> > > File “”, line 1, in   
> > > File “/usr/local/lib/python3.6/dist-packages/tensorrt/ **init**.py”, line 1, in   
> > > from .tensorrt import \*  
> > > ImportError: /usr/local/lib/python3.6/dist-packages/tensorrt/tensorrt.so: cannot open shared object file: No such file or directory

but I have this file “tensorrt.so” in a right path, is that means that I can not installation tensorrt in xavier? but how can I installation tensorrt once again if I have uninstalled the one already?

Thanks

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [November 12, 2019, 11:09pm UTC](https://forums.developer.nvidia.com/t/hello-how-to-install-tensorrt-in-xavier-i-have-uninstalled-the-automotive-installation-one/107263/2 "2019-11-12T23:09:44Z")

</div>

Hi guozr123,

May I know what the xavier automotive is?  
For Jetson AGX platform, the installation is through JetPack by SDK manager.

---

<div class="post-metadata">

**Author:** ![guozr123](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@guozr123](https://forums.developer.nvidia.com/u/guozr123)\
**Post date:** [November 13, 2019, 6:06am UTC](https://forums.developer.nvidia.com/t/hello-how-to-install-tensorrt-in-xavier-i-have-uninstalled-the-automotive-installation-one/107263/3 "2019-11-13T06:06:58Z")

</div>

> [@kayccc](#):
>
> Hi guozr123,
> 
> May I know what the xavier automotive is?  
> For Jetson AGX platform, the installation is through JetPack by SDK manager.

Thanks for you reply  
yes, I am using the Jetson AGX platform, you means that I have to install the tensorrt once from JetPack SDK manager in host machine, but not possible install tensorrt just in xavier ?

thank you

---

<div class="post-metadata">

**Author:** ![guozr123](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@guozr123](https://forums.developer.nvidia.com/u/guozr123)\
**Post date:** [November 13, 2019, 6:38am UTC](https://forums.developer.nvidia.com/t/hello-how-to-install-tensorrt-in-xavier-i-have-uninstalled-the-automotive-installation-one/107263/4 "2019-11-13T06:38:30Z")

</div>

> [@kayccc](#):
>
> Hi guozr123,
> 
> May I know what the xavier automotive is?  
> For Jetson AGX platform, the installation is through JetPack by SDK manager.

how should I do if I only want to install a other version tensorrt and do not want to reflash my xavier

---

<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:** [November 26, 2019, 8:46am UTC](https://forums.developer.nvidia.com/t/hello-how-to-install-tensorrt-in-xavier-i-have-uninstalled-the-automotive-installation-one/107263/5 "2019-11-26T08:46:03Z")

</div>

Hi,

Sorry that there are lots of dependencies between GPU driver and CUDA library.  
This will limit you from using package cross different L4T version.

In short, you will need to install OS and package from the same JetPack version to ensure the compatibility.  
Thanks.

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 18, 2021, 6:23pm UTC](https://forums.developer.nvidia.com/t/hello-how-to-install-tensorrt-in-xavier-i-have-uninstalled-the-automotive-installation-one/107263/6 "2021-10-18T18:23:38Z")

</div>

Closed on October 18, 2021, 6:23pm UTC


