1brew install python3
2brew update && brew upgrade python
3alias python=/usr/local/bin/python3
1The explanation would be too long for a grepper answer.
2So here is a link to a stackoverflow question:
3
4https://stackoverflow.com/questions/45137395/how-do-i-upgrade-the-python-installation-in-windows-10