You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inside a venv I get the following error with no other details:
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
This is a fresh Windows 10 install. Python 3.9.7 and 3.10.0 were just installed under C:. Default installation options and installed for all users. Both Python versions are on PATH.
Running -V commands verifies that both Python installations are available.
gimme-aws-creds is running inside a venv created with Python 3.9 (due to the endless installation bug with 3.10).
Expected Behavior
Generate temporary credentials for the specified profile.
Current Behavior
Error message:
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Steps to Reproduce (for bugs)
py -3.9 -V
py -3.9 -m venv venv
venv\Scripts\activate
pip install gimme-aws-creds
Create okta_aw_login_config under user directory
python -V
pip -V
gimme-aws-creds -k --profile
Your Environment
Brand new Windows 10 laptop (Windows 10 Entreprise 64 bit). Brand new Python 3.9.7 and 3.10.0 installations from the Windows installers. Only non-default options are installing for all users, placing in C:, and checking "add to PATH". gimme-aws-creds was installed using pip inside a virtual environment. virtual environment was Python 3.9.7 because 3.10.0 produces issue #320
The text was updated successfully, but these errors were encountered:
You have to modify the file named gimme-aws-creds.cmd. (located probably in the Site folder of your Python environment)
Line 8: for %%j in (python3.%%i) do ( must be changed to for %%j in (python.%%i) do (
In older version of Python, the python executable for Python 3 was named python3.exe to differentiate with Python 2 which was python.exe. The gimme-aws-creds.cmd command file is still looking for this old executable.
When running the command
gimme-aws-creds -k --profile
inside a venv I get the following error with no other details:
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
This is a fresh Windows 10 install. Python 3.9.7 and 3.10.0 were just installed under C:. Default installation options and installed for all users. Both Python versions are on PATH.
Running -V commands verifies that both Python installations are available.
gimme-aws-creds is running inside a venv created with Python 3.9 (due to the endless installation bug with 3.10).
Expected Behavior
Generate temporary credentials for the specified profile.
Current Behavior
Error message:
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Steps to Reproduce (for bugs)
Your Environment
Brand new Windows 10 laptop (Windows 10 Entreprise 64 bit). Brand new Python 3.9.7 and 3.10.0 installations from the Windows installers. Only non-default options are installing for all users, placing in C:, and checking "add to PATH". gimme-aws-creds was installed using pip inside a virtual environment. virtual environment was Python 3.9.7 because 3.10.0 produces issue #320
The text was updated successfully, but these errors were encountered: