Trying to Install AWS CLI, stuck on a step

后端 未结 6 1333
甜味超标
甜味超标 2021-02-01 17:06

Im trying to install aws for the mac command line, I guess I dont understand what I need to do I installed the aws bundle with wget on the terminal, unziped it did everything, b

相关标签:
6条回答
  • 2021-02-01 17:17

    I had to install EKS supported version and I ended up getting it to work with ignoring six:

    $ pip3 install awscli --ignore-installed six
    
    0 讨论(0)
  • 2021-02-01 17:19

    I fixed this by adding a line to the 'aws' script just before the import (line 19). So now the file reads:

    sys.path.append('/Users/<username>/.local/lib/aws/lib/python2.7/site-packages/')
    import awscli.clidriver
    
    0 讨论(0)
  • 2021-02-01 17:28

    In my case nothing worked, untill i gave more permissions, i run aws command with a non root user

    chown amzadm.root  /usr/bin/aws
    chown amzadm.root -R /usr/lib/python2.6/site-packages/
    chown amzadm.root -R /usr/lib/python2.6/site-packages/awscli/
    
    0 讨论(0)
  • 2021-02-01 17:31

    try adding below lines to ~/.bash_profile:

    export LC_ALL=en_US.UTF-8
    export LANG=en_US.UTF-8
    
    0 讨论(0)
  • 2021-02-01 17:38

    This work for me. In /.barshrc file

    export AWS_DEFAULT_OUTPUT="json"
    
    0 讨论(0)
  • 2021-02-01 17:41

    Installing AWSCLI in Windows Machine

    I had similar issue with Windows 10 (64 bit). Python 3.5 and Python 2.7 are installed in my PC. I was getting ImportError: No module named awscli.clidriver.

    Then I added %USERPROFILE%\AppData\Roaming\Python\Python35\Scripts in environment path variable and removed Python 2.7 from the environment path variable. Now I can successfully use awscli.

    I have created a step by step AWSCLI installation guide in this Github repository: https://github.com/arsho/installation/tree/master/awscli_installation.

    0 讨论(0)
提交回复
热议问题