安装 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
解决AWS CLI安装失败及找不到命令的问题

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

被折叠的 条评论
为什么被折叠?



