0
0

More than 1 year has passed since last update.

AWS CLI のインストール方法【ワンライナー】

Posted at

公式にも説明はありますが、より簡単なワンライナーを何度も忘れてしまうので備忘録として記載しました。

結論

pip3 install awscli

補足

sudo apt install awscli

でもインストール自体は成功しますが、

ImportError: cannot import name 'docevents'

というエラーが発生します。

エラー全文
Traceback (most recent call last):
  File "/usr/bin/aws", line 19, in <module>
    import awscli.clidriver
  File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 36, in <module>
    from awscli.help import ProviderHelpCommand
  File "/usr/lib/python3/dist-packages/awscli/help.py", line 23, in <module>
    from botocore.docs.bcdoc import docevents
ImportError: cannot import name 'docevents'
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0