AWS CLI not working on Mac OSX Yosemite

I have successfully downloaded AWS CLI using PIP on Mac OSX Yosemite. I am running Python version 2.7.

I can see the AWS executable in /Library/Frameworks/Python.framework/Versions/2.7/bin

.

But when I try to run

aws help

in my terminal to check that the AWS CLI is running I get

-bash: aws: command not found

Does anyone know why this is not working?

+3


source to share


1 answer


/Library/Frameworks/Python.framework/Versions/2.7/bin

should be on your way. In your file ~/.profile

(create if needed) add a line like:

export PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH"

      



Open a new terminal window and it should work.

+10


source







All Articles