title: How to make python 3.7 default in Ubuntu 20.04?
body: <p>I would like to install tensorrt binding for python3 on Ubuntu 20.04 ( <a href="https://docs.nvidia.com/deeplearning/tensorrt/archives/tensorrt-700/tensorrt-install-guide/index.html#installing-debian" rel="nofollow noreferrer">https://docs.nvidia.com/deeplearning/tensorrt/archives/tensorrt-700/tensorrt-install-guide/index.html#installing-debian</a> ) . This Ubuntu has python 3.8 as a default, but those tensorrt bindings needs python 3.7 or lower.</p>
  <p>The package is installed via <code>sudo apt-get install python3-libnvinfer-dev </code> . But this crash because of python 3.8 . So I have installed also python 3.7 via <code>sudo apt-get install python3.7</code> 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</p>