title: AWS CLI not working because of unsupported Python version
body: <p>I'm trying to download the AWS CLI tools onto my mac. The error message is pretty clear <code>Unsupported Python version detected: Python 2.7 To continue using this installer you must use Python 3.6 or later.</code> The issue I'm having is that aliasing <code>python</code> to <code>python3</code> isn't working. For some reason, after aliasing, the installer still references <code>Python 2.7</code>.</p>
  <p>After aliasing through the cli didn't work for installing AWS CLI, I added <code>alias python=python3</code> to my <code>.zshrc</code> file. Running <code>python --version</code> returns <code>Python 3.9.6</code>. Running the AWS installer still references the older version of python.</p>
  <p>I'm hesitant to completely override the older version, because I've read from multiple sources that the default python on OS X should not be touched.</p>
  <p>Can someone explain how I can reference the newer version of python when installing the AWS CLI tools?</p>