简体   繁体   中英

AWS cli windows - still getting “'aws' is not recognized…” after adding path to environment variables?

Following instructions found here (and elsewhere) I added '%USERPROFILE%\\AppData\\Roaming\\Python\\Python37\\Scripts\\aws' to Path (tried with and without \\aws at the end)

在此处输入图片说明

I clicked OK everywhere and restartet the CLI, but I am still getting "'aws' is not recognized as an internal or external command, operable program or batch file." when typing aws at the command prompt (I restarted it after the path update). Any ideas what I might be missing?

if this is in a windows machine By default, the CLI installs to C:\\Program Files\\Amazon\\AWSCLI (64-bit version) or C:\\Program Files (x86)\\Amazon\\AWSCLI (32-bit version). So I guess the PATH that you've added is incorrect.

try checking this link https://docs.aws.amazon.com/cli/latest/userguide/install-windows.html#awscli-install-windows-path

run the command - where aws

once you know where it was installed then copy that and it to your path. i hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM