Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • If you don't have the AWS CLI installed yet, that's great. Start by checking that you have Python 3.5+, then worry about the AWS CLI.
  • If you already have the AWS CLI installed, you'll need to make sure that it is using Python 3.5+. If it isn't, then the awscli-login plugin won't work properly and installing it may break AWS CLI installs that are NOT using Python 3.5+.

...

 

Code Block
languagetext
titleLinux/Mac OSbash
$ python --version
Python 2.7.14 # Python 2.x is installed!
$ python3 --version
-bash: python3: command not found
$  # Python 3.5+ is not installed!

Mac OS X

Linux

Python 3.5+

AWS CLI

...

aws --version
aws-cli/1.15.83 Python/2.7.14 Linux/4.14.77-70.59.amzn1.x86_64 botocore/1.10.82

In the above example, Python 2.x is installed and the AWS CLI is installed, but using Python 2.x. That's exactly what we don't want.

Installing awscli-login

Mac OS X

Linux

Windows

Using awscli-login