Dowloaded tensorrt from nvidia website and I run the following commands ( I already have pycuda installed, tensorflow-gpu-2.0, cudnn 7.6 and cudatoolkit 10.00, my computer has an nvidia 1050 gtx).
sudo apt-key add /var/nv-tensorrt-repo-cuda10.0-trt126.96.36.199-ga-20191216/7fa2af80.pub
sudo dpkg -i nv-tensorrt-repo-ubuntu1804-cuda10.0-trt188.8.131.52-ga-20191216_1-1_amd64.deb
sudo apt-get update
sudo apt-get install tensorrt
which gives the following error:
Depends: libnvonnxparsers-dev (= 7.0.0-1+cuda10.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
In case this matters, I want the python API and my main system uses Windows so I set up vitural box with a VM that rusn ubuntu 18.04.
Thanks in advance for any help!