Follow the steps:

$ sudo apt update
$ sudo apt install python python-pip
$ sudo pip install awscli

This will install a reasonably recent version of awscli, at least more recent than installing directly with $ sudo apt install awscli.