I\'d already asked this on the AWS official forum on Jan-2 but not any reply. So, I m posting it here again so that I can get the error fixed.
I installed awscli a
I did have the same issue but upgrading awscli via pip/pip3 didn't work for me. The root cause of the issue is basically a conflict between 2 different awscli. Once installed via apt-get install awscli
and one installed via pip3 insstall awscli
. To solve the issue, I removed thee awscli installed in via apt-get. Doing so will remove the aws binary from /usr/bin/aws so just created a soft link from /usr/loca/bin/aws.