I tried many approaches to set python3 as default version and all the options were not working and the only working solution is
- brew install python
- in your bashrc or zshrc add
export PATH=/usr/local/opt/python3/libexec/bin:$PATH
- source bashrc/zshrc
try python --version it should do the magic.