# How can I use tensorrt in a conda env?

**URL:** <https://forums.developer.nvidia.com/t/how-can-i-use-tensorrt-in-a-conda-env/310262>\
**Category:** Jetson AGX Orin\
**Tags:** tensorrt\
**Created:** [October 18, 2024, 7:44am UTC](https://forums.developer.nvidia.com/t/how-can-i-use-tensorrt-in-a-conda-env/310262 "2024-10-18T07:44:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pengcheng](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/pengcheng/32/295668_2.png) [@pengcheng](https://forums.developer.nvidia.com/u/pengcheng)\
**Post date:** [October 18, 2024, 7:44am UTC](https://forums.developer.nvidia.com/t/how-can-i-use-tensorrt-in-a-conda-env/310262/1 "2024-10-18T07:44:04Z")

</div>

Hello,  
I am using Jetpack6 on an orin board. I am trying to use tensort in my conda env. However, it shows an error “ModuleNotFoundError: No module named ‘tensorrt’”  
I searched and tried this: [No module named 'tensorrt'](https://forums.developer.nvidia.com/t/no-module-named-tensorrt/241728)

However, it does not work for me as I am in a conda env. May I know how can I solve the issue?

Thanks!

---

<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:** [October 18, 2024, 8:24am UTC](https://forums.developer.nvidia.com/t/how-can-i-use-tensorrt-in-a-conda-env/310262/4 "2024-10-18T08:24:58Z")

</div>

Hi,

Which Python version do you use?  
We only provide Python 3.10 for the JetPack 6 environment.

For other Python versions, please build it from the source:

> **[TensorRT/python at release/10.5 · NVIDIA/TensorRT](https://github.com/NVIDIA/TensorRT/tree/release/10.5/python)**
>
> NVIDIA® TensorRT™ is an SDK for high-performance deep learning inference on NVIDIA GPUs. This repository contains the open source components of TensorRT. - NVIDIA/TensorRT

Thanks.

---

<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:** [November 20, 2024, 2:12am UTC](https://forums.developer.nvidia.com/t/how-can-i-use-tensorrt-in-a-conda-env/310262/6 "2024-11-20T02:12:51Z")

</div>

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