Aws-cli: aws gives no output on windows

Created on 18 Sep 2019  路  7Comments  路  Source: aws/aws-cli

I've been using aws cli on this laptop for a while to interact with s3 buckets. Suddenly, the tool has stopping printing any output whatsoever:

C:\>aws

C:\>aws --debug

C:\>aws --help

C:\>where aws
C:\Users\Andrew\AppData\Roaming\Python\Python37\Scripts\aws
C:\Users\Andrew\AppData\Roaming\Python\Python37\Scripts\aws.cmd

This is in an administrator command prompt, but it's the same in an admin powershell prompt. Windows version 10.0.18362 Build 18362 - I took the anniversary update a few weeks ago but am not sure if it's correlated or not.

aws cli on my other (Win 10, anniversary update) machine, using the same authentication, works fine.

I've tried straight-up uninstalling and reinstalling aws cli, but to the same effect. no command I try will produce output.

Any ideas? Any more information I can give you?

guidance needs-reproduction

All 7 comments

I'm seeing the same issue as well. It was working fine at least last week. I ran pip3 awscli upgrade but that didn't help.

EDIT: At the same time SAM CLI works.

C:\Tools\Python_373>aws --version

C:\Tools\Python_373>sam --version
SAM CLI, version 0.17.0

...maybe there's some cached data somewhere, and if we removed that when we uninstalled/reinstalled aws, everything would start working again?

Hmm, it looks like you're installing via pip? Is that correct?

I might suggest uninstalling the CLI install you have now and trying the MSI Installer if you haven't already. Let me know if that helps.

yeah, pip uninstall awscli then using the msi fixed it. but I'd prefer to be on pip, so it would be good to understand why things broke and how to fix it.

Hi @tenpn, does this still persist for you when installing via pip? I could not reproduce either on Windows 10.

At some point some time ago it started magically working again. I can no longer reproduce it, too.

Thanks for updating. Closing this for now, but if it should reoccur, re-open an issue. Thanks!

Was this page helpful?
0 / 5 - 0 ratings