Even though it was sunsetting of Python 2 by the begin of 2020 but there are cases that we still need to work on Python 2. The world is not perfect and not everyone was ready to move to Python 3. This note provides some instructions for you to handle different versions of Python locally.
Make sure that there is no alias for python
In case, it is, just unalias it
List all installed python(s)
Then we need to update alternatives for python with the syntax
So, it looks like
Lastly, we need to config which Python we want to use as default