Hi,
Please make sure you have dependencies installed correctly. If you face some issue, please uninstall and reinstall correctly using installation guide shared, also looks like you’re installing older version of TensorRT, we highly recommend you to please install latest TensorRT version.
Please check support matrix here Documentation Archives :: NVIDIA Deep Learning TensorRT Documentation
Also similar issue may help you Installing TensorRT on docker | Depends: libnvinfer7 (= 7.1.3-1+cuda10.2) but 7.2.0-1+cuda11.0 is to be installed · Issue #792 · NVIDIA/TensorRT · GitHub
Thank you.