File not found? Why?

Hello all,

Please, before I proceed, I am quiet new to programming. I have been working on a project where I utilize ONNX and TensorRT, however, I am getting an error:

FileNotFoundError: Could not find module ‘C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin\nvinfer.dll’ (or one of its dependencies). Try using the full path with constructor syntax.

Which means, the nvinfer.dll cannot be found in the folder, however, I did copy it there correctly as per my knowledge.

I also did try to edit the system Environment Variables with following path: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin

I am using TensorRT (I did have 8.5 version, but it is not supported by my GPU due to computing power [I am running 2060 super])
and cudnn

Any advise?

Thank you,

Hi @davidukus ,

Please validate the installation steps from the below link

To find the compatible versions, please check the support matrix.

For onnx to Tensorrt version, please find


@ davidukus May I ask which installation did you use to install 11.7 that had nvinfer.dll? I have downloaded and install 11.7 and 11.7.1 toolkit in and yet it does not include nvinfer.dll in the bin folder.