Skip to content

Problem to set up Cli in my new account

0

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

  1. Download & install “api-ms-win-core-path-l1-1-0.dll”
  2. 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

asked 3 years ago668 views

1 Answer
1
Accepted Answer

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

EXPERT

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.