Can't open AWS-CLI in Windows 10

0

I have installed the latest version of AWS CLI. While I am trying to open the installed CLI, it's popping up windows for a second and disappearing instantly. I don't know what is the possible reason for that.

Here is the output while I am entering the command: aws --version aws-cli/2.11.8 Python/3.11.2 Windows/10 exe/AMD64 prompt/off

N:B: I am using Windows 10 Pro Education (64-bit)

질문됨 일 년 전725회 조회
1개 답변
0

So you open a Command Prompt and type aws --version, and get:

aws-cli/2.11.8 Python/3.11.2 Windows/10 exe/AMD64 prompt/off

Does that all work normally with no other windows popping up?

Then what command have you tried that doesn't work right - how does something simple like aws s3 ls go? If your credentials are set up does it list buckets OK? Does it also pop up other windows?

Does Python behave OK when you run it directly?

전문가
답변함 일 년 전
  • I am running this command aws --version using my windows CLI but the issue is installed AWS CLI isn't popping up. While I am clicking to open the AWS CLI it's opening for 1/2 seconds and disappearing instantly. It's all working fine with my windows CLI.

  • I'm making a guess here but possibly there's some confusion about how the AWS CLI works? It's designed to be run from a shell like the Windows Command Prompt (I guess that's what you mean by "windows CLI"?), and it runs briefly, outputs something and terminates. It's not interactive - everything you want it to do needs to be passed as parameters.

    If you're clicking on something to run the AWS CLI then yes it will probably briefly bring up a text window to output something and close the window when it terminates.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠