# How to install TensorRT in a python environment?

**URL:** <https://forums.developer.nvidia.com/t/how-to-install-tensorrt-in-a-python-environment/155050>\
**Category:** Jetson TX2\
**Created:** [September 22, 2020, 9:57pm UTC](https://forums.developer.nvidia.com/t/how-to-install-tensorrt-in-a-python-environment/155050 "2020-09-22T21:57:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aizzaac](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Aizzaac](https://forums.developer.nvidia.com/u/Aizzaac)\
**Post date:** [September 22, 2020, 9:57pm UTC](https://forums.developer.nvidia.com/t/how-to-install-tensorrt-in-a-python-environment/155050/1 "2020-09-22T21:57:17Z")

</div>

Hi

I have created an environment. In there I have installed:  
cython, protobuf, numpy, libprotobuf-dev, protobuf-compiler and onnx.

OUTSIDE of the environment I have:  
TensorRT = 6.0.1  
Cudnn = 7.63  
Jetpack = 4.3 - b134  
Cuda = 10.0

Will there be any problem if I install TensorRT 7.1 and cuda-11.0 + cuDNN-8.0 like it says in this GIT: [TensorRT](https://github.com/NVIDIA/TensorRT)?

Thank you

---

<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:** [September 23, 2020, 4:04am UTC](https://forums.developer.nvidia.com/t/how-to-install-tensorrt-in-a-python-environment/155050/3 "2020-09-23T04:04:45Z")

</div>

Hi,

CUDA 11.0 is not supported on Jetson yet.

It’s recommended to align the package version of env and host.  
Since the dependency between library and driver may cause some issue if they are not aligned.

You can get the similar software from JetPack4.4: TensorRT 7.1.3, cuDNN 8.0.0 and CUDA 10.2.  
Thanks.

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 18, 2021, 6:17pm UTC](https://forums.developer.nvidia.com/t/how-to-install-tensorrt-in-a-python-environment/155050/5 "2021-10-18T18:17:00Z")

</div>

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


