Post Installation, AWS Cli Not added

0 votes

I installed the aws cli as per the AWS Documents :

sudo pip install awscli


However, I can't find AWS in here. It shows that installation is successful. 
There are a number of files located at /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/awscli, however there are no executables named aws.
 My python version is 3.3.4, my pip version is 1.5.4, and running this command on OS X 10.9.
Can anyone trace this problem? 

Jun 5, 2018 in AWS by Flying geek
• 3,150 points
48 views

1 answer to this question.

0 votes

From this document:  http://docs.aws.amazon.com/cli/latest/userguide/cli-install-macos.html#awscli-install-osx-path

For Modern macos/OSX, you need to find your ~/Library/Python/$version/bin directory and add it to your $PATH. This will help you locate the one where aws got installed.

$ ls -d ~/Library/Python/*/bin/aws
/Users/bbronosky/Library/Python/3.6/bin/aws

So based on that I added this line to my .bashrc

export PATH=$HOME/Library/Python/3.6/bin:$PATH
answered Jun 5, 2018 by Cloud gunner
• 4,260 points

Related Questions In AWS

0 votes
1 answer

Why I get AWS repository ARN could not be added to restrict access?

heh... answer my own question: I must ...READ MORE

answered Sep 21, 2018 in AWS by Priyaj
• 56,160 points
35 views
0 votes
1 answer

AWS CLI installation error

Try this command sudo pip install awscli --force-reinstall ...READ MORE

answered Oct 8, 2018 in AWS by Archana
• 4,090 points
41 views
+1 vote
3 answers

Not able to pass params POST to AWS Lambda from Amazon API Gateway

For this template : application/x-www-form-urlencoded  This line below will ...READ MORE

answered Jun 13, 2018 in AWS by Cloud gunner
• 4,260 points
1,673 views
+2 votes
3 answers