skypilot-users
How can I resolve the issue with skypilot installing awscli and clobbering the aws command in a virtualenv?
Al
Alex Kouzemtchenko
Asked on Nov 20, 2023
One workaround for this issue is to create an alias for the aws command, such as aws2
, and use that for anything SSO related. This can be done by running the command alias aws2=/usr/local/bin/aws
. However, this workaround may not be ideal for everyone as it requires setting up the alias for each user. Another option is to manually remove the [aws] extras from the skypilot installation, but this may not remove the awscli dependency. It's important to note that this issue occurs when skypilot is installed and overrides the existing aws command with aws cli v1, even if aws cli v2 was already installed.
Dec 19, 2023Edited by