awscli not added to path after installation

2020-05-11 05:20发布

I installed the aws cli according to the offical Amazon directions.

sudo pip install awscli

However, aws is nowhere to be found in my path. The installation seems to have been 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. What could be wrong?

Thanks!

14条回答
Juvenile、少年°
2楼-- · 2020-05-11 05:59

What I typically do is copy the executable to /usr/local/bin

cp $(find / -name aws) /usr/local/bin
查看更多
做自己的国王
3楼-- · 2020-05-11 06:00

check your python version but I guessed you are using python 3.3

export PATH=$HOME/Library/Python/3.3/bin:$PATH

查看更多
登录 后发表回答