awscli getting started error

后端 未结 5 1877
没有蜡笔的小新
没有蜡笔的小新 2021-01-30 21:31

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

相关标签:
5条回答
  • 2021-01-30 22:08
    brew install awscli
    

    If you are using Mac OS. It's working for Sierra

    0 讨论(0)
  • 2021-01-30 22:16

    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"

    0 讨论(0)
  • 2021-01-30 22:17

    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.

    0 讨论(0)
  • 2021-01-30 22:18

    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!

    0 讨论(0)
  • 2021-01-30 22:25

    Try this command

    sudo pip install awscli --force-reinstall --upgrade
    
    0 讨论(0)
提交回复
热议问题