I am trying to install the awslocal CLI tool with pip3.
I have ran the command:
pip3 install awscli-local --user
I am trying to see the what CLI options there are and have run the command
awslocal
I am getting this response
zsh: command not found: awslocal
I am not sure what other steps I am missing
Run the command:
pip3 install awscli --upgrade --user
and watch closely where the aws cli tool gets installed, you can see the path on terminal log, in my case I got something like this:
awscli in ./Library/Python/3.8/lib/python/site-packages
Now you should add to your.bash_profile the same path but on the bin folder(removing from the lib path and instead put your bin path) like this:
export PATH=/Users/your.user.name/Library/Python/3.8/bin/:$PATH
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.