I am following the AWS CLI Setup guide. I have managed to successfully install the tool on my Mac OS X terminal with the following output:
Running cmd: /usr/bin/
I personally had the same issue with aws CodeBuild - I couldn't use the aws cli. I solved it by installing aws globally on my docker image (instead of installing it locally to a user).
RUN pip install awscli --upgrade
(instead of RUN pip install awscli --upgrade --user)
It worked for me, if that can help anyone !