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

prs
gefragt vor 6 Monaten201 Aufrufe
1 Antwort
1
Akzeptierte Antwort

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

profile picture
EXPERTE
Steve_M
beantwortet vor 6 Monaten
  • 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).

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen