No module named torch2trt while it is installed

Hi Nvidia team,
I built torch2trt from the source (GitHub - NVIDIA-AI-IOT/torch2trt: An easy to use PyTorch to TensorRT converter). I can import it under the build folder, but I can’t import it outside that folder, why is that?
Thanks a lot!
As shown in the image, it can be seen by pip list when under the bulid folder

Hi,

Could you export the PYTHONPATH with the absolute path and try it again?
Thanks.

1 Like