New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installating AWS CLI on Windows 7 #7659
Comments
Hi @ribery77 thanks for reaching out. This appears to be expected behavior. You're using Python 3.9 and that version is not supported by Windows 7 as noted here: https://www.python.org/downloads/release/python-390/
Also in the AWS CLI v2 installation instructions it notes the requirement of 64-bit Windows. For more information on supported Python versions you can refer to this blog post: https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/ |
Hi @tim-finnigan . Therefore which version of CLI I need to install for Windows 7? |
First you'd need to downgrade your version of Python as 3.9 is not supported on Windows 7. For the AWS CLI v2 you'd need a 64-bit version of Windows as mentioned here: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html#getting-started-install-instructions Otherwise you can try installing v1 as documented here: https://docs.aws.amazon.com/cli/v1/userguide/install-windows.html. |
You need to first verify the version of Python that can be supported by your machine. You then need to check which version of AWS CLI v2 is supported by your version of Python. You can see in the logs that version 2.5.0 and above require Python 3.9 and higher. You can install a version via the following link: Replace the version as appropriate |
I've been trying to solve this problem for the last day and a half in my spare time, and I went down a bunch of irrelevant Python rabbit holes. I've never knowingly and purposefully installed python on anything, ever, so it seemed odd that I would need to install an older version just to be able to run what I thought was a standalone exe. I've used the AWS CLI V2 for years on Win7 and Win10 systems. I recently needed to install and use the CLI on a Windows 7 PC, and I wish I had looked into earlier builds of the AWS CLI first. This answer is perfect. I downloaded and installed the MSI from the link and now I can get back to work. |
Describe the bug
Hi All. I try to install AWS CLI on Windows 7. I stumble upon this error below.
I try to install Visual C++ Redistributable for Visual Studio 2015 but it does not help me. Please see reference here https://stackoverflow.com/questions/54214600/pyinstaller-error-loading-python-dll-formatmessagew-failed
Any suggestions are welcome.
Expected Behavior
I cannot isntall AWS CLI/
Current Behavior
It does not work.
Reproduction Steps
NA
Possible Solution
No response
Additional Information/Context
No response
CLI version used
2
Environment details (OS name and version, etc.)
Windows 7 sp1
The text was updated successfully, but these errors were encountered: