# Python TensorRT Package Installation Doesn't Work

**URL:** <https://forums.developer.nvidia.com/t/python-tensorrt-package-installation-doesnt-work/220539>\
**Category:** DRIVE AGX Xavier General\
**Tags:** driveos-dl\
**Created:** [July 12, 2022, 10:15pm UTC](https://forums.developer.nvidia.com/t/python-tensorrt-package-installation-doesnt-work/220539 "2022-07-12T22:15:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurmeet.sidhu1](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@gurmeet.sidhu1](https://forums.developer.nvidia.com/u/gurmeet.sidhu1)\
**Post date:** [July 12, 2022, 10:15pm UTC](https://forums.developer.nvidia.com/t/python-tensorrt-package-installation-doesnt-work/220539/1 "2022-07-12T22:15:08Z")

</div>

Please provide the following info (check/uncheck the boxes after creating this topic):  
**Software Version**  
 DRIVE OS Linux 5.2.6  
 DRIVE OS Linux 5.2.6 and DriveWorks 4.0  
 DRIVE OS Linux 5.2.0  
 DRIVE OS Linux 5.2.0 and DriveWorks 3.5  
 NVIDIA DRIVE™ Software 10.0 (Linux)  
 NVIDIA DRIVE™ Software 9.0 (Linux)  
 other DRIVE OS version  
 other

**Target Operating System**  
 Linux  
 QNX  
 other

**Hardware Platform**  
 NVIDIA DRIVE™ AGX Xavier DevKit (E3550)  
 NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)  
 other

**SDK Manager Version**  
 1.8.0.10363  
 other  
1.7.9

**Host Machine Version**  
 native Ubuntu 18.04  
 other

Is there an installation guide for installing TensorRT and PyCUDA Python Packages for DriveOS.

I followed installation instructions here: [Installation Guide :: NVIDIA Deep Learning TensorRT Documentation](https://docs.nvidia.com/deeplearning/tensorrt/install-guide/index.html#installing)

But I have a failure as it is not able to find Cuda binaries (even though I have provided path to CUDA library location during configure.py)

Similarly I am not able to install TensorRT library from PIP as it fails installing dependencies due to architecture. Is there anyway to get this on Drive OS?

Thanks,  
Gurmeet

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [July 12, 2022, 10:47pm UTC](https://forums.developer.nvidia.com/t/python-tensorrt-package-installation-doesnt-work/220539/2 "2022-07-12T22:47:15Z")

</div>

TensorRT is part of the installation of DRIVE OS 5.2.6 via SDK Manager as mentioned in [https://developer.nvidia.com/nvidia-drive-os-526-linux-release-notes](https://developer.nvidia.com/nvidia-drive-os-526-linux-release-notes).

For your PyCUDA question, please refer to [Installing PyCUDA on Drive OS 5.2](https://forums.developer.nvidia.com/t/installing-pycuda-on-drive-os-5-2/177330).
