After searching in AWS doc it says upgrade your python to 2.7 before installing aws.
However we are stuck with centos 6.7 and if we upgrade to newer version it might impact other area of our application.
So we tried to install it without upgrading
Below are the commands to install aws cli without 2.7 python as root login
However we are stuck with centos 6.7 and if we upgrade to newer version it might impact other area of our application.
So we tried to install it without upgrading
Below are the commands to install aws cli without 2.7 python as root login
- cd /opt
- curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
- unzip awscli-bundle.zip
- sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
- aws --version
version output
aws-cli/1.10.38 Python/2.6.6 Linux/2.6.32-573.22.1.el6.centos.plus.x86_64 botocore/1.4.28
No comments:
Post a Comment