Nike-Inc / gimme-aws-creds

A CLI that utilizes Okta IdP via SAML to acquire temporary AWS credentials
Apache License 2.0
920 stars 262 forks source link

Command line not outputting anything when running gimme-aws-creds command #412

Open Cug-21 opened 1 year ago

Cug-21 commented 1 year ago

Expected Behavior

I am running a windows 10 with python 3.8.2 with aws cli as 2.9.8. I installed gimme-aws-creds successfully but when i initially ran gimme-aws-creds --version i would get an error "the term 'gimme-aws-creds' is not recognized as the name of a cmdlet,function, script file, or operable program."

So i found the script file with the gimme-aws-creds package and moved it into my environment variables.

Current Behavior

Now when i run any command whether being gimme-aws-creds --version or gimme-aws-creds.cmd. The console just continues to the next line. There is no error or any output info but just goes to the next line.

Possible Solution

I feel like i may be missing something in my path because when i run a command now it is no longer giving me an error after moving the python/scripts into the environment variables.

Steps to Reproduce (for bugs)

1.I have tried to uninstall gimme-aws-creds however i still run into the same situation 2.I have tried to play around with different environment variables but never have gotten an output from a gimme-aws-creds command 3. 4.

Context

I just cant used any form of gimme-aws-creds

Your Environment

molenin commented 1 year ago

I have had same problem. The reason was in calling python3 binary. By default python doesn't add this binary to the PATH. You may verify it with calling python3 from powershell. My computer opens the standard windows dialog with suggestion to install python from the store

This was solved by copying python.exe to python3.exe