Hi, I am trying to set up Cli in my new account.
I follow the instruction on https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
I Downloaded and run the AWS CLI MSI installer for Windows (64-bit).
I go to Command prompt to confirm the installation: open the Start menu, search for cmd to open a command prompt window, and at the command prompt use the aws --version command.
After run it, there is an error message, even though I uninstall & re install a couple times.
The error message: “The program can't start because api-ms-win-core-path-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem.”
I also try to remedy using the suggestions from this site:
https://www.sts-tutorial.com/download/api-ms-win-core-path-l1-1-0
- Download & install “api-ms-win-core-path-l1-1-0.dll”
- Download & install “the Microsoft Visual C++ Redistributable for Visual Studio 2019”
But I still get the same error message.
What else can I do?
Thanks
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).