echo "alias python=/usr/bin/python3" >> ~/.zshrc
Try 'python3' instead of 'python'. A recent Mac update removed the python command from my OS