Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS CLI not working on Mac OSX Yosemite

I've successfully downloaded the AWS CLI using PIP onto Mac OSX Yosemite. I'm 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 test that the AWS CLI works, I get

-bash: aws: command not found

Anybody know why this isn't working?

like image 894
Tim Jahn Avatar asked Dec 11 '22 23:12

Tim Jahn


1 Answers

/Library/Frameworks/Python.framework/Versions/2.7/bin will need to be in your path. In your ~/.profile file (create one if necessary) add a line like:

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

Open a new Terminal window and it should work.

like image 177
ceejayoz Avatar answered Dec 31 '22 14:12

ceejayoz