安装 AWS Command Line Interface 失败 Could not find a version that satisfies the requirement awscli

解决AWS CLI安装失败及找不到命令的问题
在尝试安装AWS CLI时遇到了权限问题,导致安装失败。错误信息涉及到缓存目录权限不足。按照官方文档,使用`sudo pip install awscli --upgrade --user`和`sudo pip3 install awscli --upgrade --user`命令均失败。一天后,通过升级pip然后再次执行安装命令成功。然而,`aws`命令仍然不可用。最后发现需要升级pip后,以非sudo的root用户身份执行安装,问题得以解决。

安装 AWS Command Line Interface

sudo pip install awscli --upgrade --user

The directory '/Users/aven/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

The directory '/Users/aven/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

Collecting awscli

  Could not find a version that satisf

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值