通过PIP3安装时Ubuntu无法找到AWS CLI
我正在尝试使用pip3
安装AWS CLI,如下所示:
user@machine:~/Personal/aws-tutorial$ pip3 install awscli
安装后,我尝试检查版本
aws --version
-bash: /usr/bin/aws: No such file or directory
,该版本未能提及找不到aws
找不到。
有人可以帮我解决这个问题吗?
我目前在Ubuntu 20.04上运行Python 3.8.10。
I am trying to install AWS CLI using pip3
as follows:
user@machine:~/Personal/aws-tutorial$ pip3 install awscli
Once installed, I am trying to check the version
aws --version
-bash: /usr/bin/aws: No such file or directory
Which fails mentioning that aws
could not be found.
Could someone please help me resolve this?
I am currently on Ubuntu 20.04 running Python 3.8.10.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
TLDR:检查您的路径,将AWSCLI DIR添加到路径中。
我可能测试了您的步骤
,您需要通过
echo $ path
检查路径env,如果它们不在路径中,则将AWS dir添加到您的路径中。TLDR: check you PATH env, add awscli dir into PATH.
I tested your step
Probably, you need check your PATH env by
echo $PATH
, and add aws dir into you PATH if they not in PATH.要使用PIP安装AWS-CLI软件包,
它对我有用。
To install aws-cli package using pip,
It worked for me.