I would like to install tensorrt binding for python3 on Ubuntu 20.04 ( https://docs.nvidia.com/deeplearning/tensorrt/archives/tensorrt-700/tensorrt-install-guide/index.html#installing-debian ) . This Ubuntu has python 3.8 as a default, but those tensorrt bindings needs python 3.7 or lower.
The package is installed via sudo apt-get install python3-libnvinfer-dev . But this crash because of python 3.8 . So I have installed also python 3.7 via sudo apt-get install python3.7 so I can access 3.7 running command python3.7 . I have also made a ln -s /usr/bin/python3.7 /usr/bin/python3 to make a python3 command opennning the 3.7 version. But aptget still has a problem and python3.7 is not visible for it. What can I do to make python 3.7 native in Ubuntu 20.04 or how to tell apt-get to look in /usr/bin/python3.7 location? Thanks