Thanks for doing the leg work on this. In addition to assisting those who want to use non-default python versions this is also needed for python3 installations when python2 is the default. I was going to update the other topic, but it is locked. So the best I can do is link it here and hope that it is seen by others with this issue:
You can always create an alias that points to the python2 version: