Unable to install TensorRT

I have Ubuntu 20, CUDA 11.1, and TensorRT 7.2.0 which I downloaded from here: https://developer.nvidia.com/nvidia-tensorrt-7x-download

When I try import tensorrt as trt, I get:

no module named tensorrt

When I tried sudo apt-get install python3-libnvinfer-dev it says

python3-libnvinfer-dev is not going to be installed. Unable to correct problems, you have held broken packages

When I tried

 python3.8 -m pip install tensorrt- 

(because that whl file is in the TensorRT- folder from the TensorRT I downloaded), it says

ERROR: tensorrt- is not a supported wheel on this platform

and when I try

sudo pip3 install tensorrt-*-cp3x-none-linux_x86_64.whl

I also get the not supported wheel on this platform error

Can anyone help?

Hi @asfadsfsadfadsf,
The provided releases are supported on Ubuntu 18.04 and not 20.
Alternatively you can use NGC TRT containers to avoid any system level dependency.