I get the error no module named'tensorrt'

I have tensorrt installed, but I get the error no module named’tensorrt’. The environment uses virtualenv.

Hi @kubo1,
The below link might address your query.
Kindly check.

Thanks!

1 Like

ok. I read the link. Is there a way to use tensorRT on virtualenv without using anaconda?

Hi @kubo1,
Here the baseline is that tensorrt is installed in your virtual environment python and not on the system python.
Also you need to check if the LIB_PATH is set correctly.

Thanks!

@AakankshaS
ok. I solved. Thanks!
Can you help me out with this?

Hi @kubo1,
On the queries, CUDA Team should be able to assist you better.
Thanks!

ok. Thanks!