Installing the AWS CLI seems easy on macOS (OSX) as per the step given by AWS here but there are some issues with python and pip due to its versions conflicts.
The normal error I faced on 2 machines like
pip3 install awscli --upgrade --user Traceback (most recent call last): File "/usr/local/bin/pip3", line 7, in <module> from pip import main ImportError: cannot import name 'main'
I used one step to solve this:
$ sudo python3 -m pip install awscli --upgrade --user
The AWS CLI should be installed without error.
The above command doesn’t conflict with other versions and directly call the 3 version. This should also work on Windows.
Your suggestions and experiences are welcome.