v2 install as pip package on git bash
I have installed awscliv2 using the MSI for Windows.
aws --version
aws-cli/2.1.27 Python/3.7.9 Windows/10 exe/AMD64 prompt/off
When I run it from git bash I get the following message.
$ aws configure sso
Found xterm, while expecting a Windows console. Maybe try to run this program using "winpty" or run it in cmd.exe instead. Or otherwise, in case of Cygwin, use the Python executable that is compiled for Cygwin.
Hi @lmayorga1980,
Thanks for writing in! I'm unable to reproduce on git bash using the same configuration with cmd.exe— this appears to be more of a compatibility issue between xterm and git bash. Have you tried running it using winpty or in cmd.exe with any success?
I will try the winpty option and get back here.
Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one.
I have the same issue. Is there any solution for this?
I ran into the same issue. Is there any solution for this?
Ran into same issue. Using cmd is not an option. Issue is urgent, and I cannot be expected to learn a whole new command scheme to fix the problem. I'm forced to use dangerous methods to accomplish the same task. (manually pasting short term credentials with long running task). This should not happen. This worked for me last week. What would cause this to suddenly stop working?
@stobrien89 I have the same issue too. try winpty then resolved. thank you.
Windows 11 Pro GitBash(git version 2.39.2.windows.1)
$ aws --version
aws-cli/2.16.6 Python/3.11.8 Windows/10 exe/AMD64
$ winpty aws configure sso