I'm trying to install python3-libnvinfer-dev
for TensorRT (Tensorflow). I have Ubuntu 22.04 with python 3.10.4
but I use Anaconda's python 3.9.7
. I have Nvidia 510 drivers, CUDA 11.6 and Cudnn 8. The issue is, when I run sudo apt-get install python3-libnvinfer-dev
it shows this error:
The following packages have unmet dependencies: python3-libnvinfer : Depends: python3 (< 3.9) but 3.10.4-0ubuntu2 is to be installed E: Unable to correct problems, you have held broken packages.
What can I do to fix this?