1 Answer
- Newest
- Most votes
- Most comments
1
Which version of Windows are you running?
This exact error message comes up when trying to install Python 3.9 on Windows 7 https://github.com/python/cpython/issues/85584
And the Python downloads page confirms that anything 3.9 or later cannot be used on Windows 7 https://www.python.org/downloads/windows/
The latest version of the AWS CLI uses Python 3.11 https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
Relevant content
- Accepted Answerasked 2 years ago
- asked 2 days ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
The Windows version is Windows 7 Ultimate SP 1. I see the problem now, the version of Windows that need to be upgrade.
Either that, or install a version of AWS CLI that relies on a version of Python < 3.9.
See https://github.com/aws/aws-cli/issues/7659 which is a similar, but not identical, problem to yours.
The second-from-last contribution (from tlhogi84) https://github.com/aws/aws-cli/issues/7659#issuecomment-1759526686 appears to link to a version that may be suitable for you (I have no way of testing this myself though, as I don't have access to a Windows 7 host).