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
brew install awscli
If you are using Mac OS. It's working for Sierra
Dont forget to configure the awscli tool after install:
brew install awscli
or
pip install awscli
then
aws configure
I had to also:
pip uninstall boto3
pip install boto3=={correct version}
"awscli 1.11.166 has requirement botocore==1.7.24"
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.
I've been having the same problem with similar boto dependencies. I basically ran sudo apt-get install awscli
on an AWS EC2 Ubuntu instance and it was totally broken out of the box.
After scratching around for hours, the following seems to have done t'trick:
sudo pip install boto --upgrade
sudo pip install boto3 --upgrade
sudo pip install iso8601
sudo pip install sqlalchemy
Typing aws
on the command line after running these commands produced the expected "Usage: ..." message as opposed to a Python stacktrace.
I hope this is helpful to someone else too!
Try this command
sudo pip install awscli --force-reinstall --upgrade