Upgrade Python Version on Quantum Mini Linux Development Kit

Hi
I am trying to upgrade the pre-installed python version from 3.5.2 to 3.6 or higher.

However I am finding excessively hard to install it and when installed (3.9.5 was the only version i successfully installed), it is not recognized by update-alternatives so I cannot use it to install my new libraries. I tried using pip3.9 to install the module but it keeps failing. Has anybody experienced a similar issue or knows how this can be solved?