AnswerBun.com

Aws CLI installation error on windows system

Stack Overflow Asked by Basit Anlat on January 5, 2022

when i tried to install aws cli on cmd(Windows). i am getting message first later its continued.you can see below
enter image description here

By the way I added path in environmental variable like that
enter image description here

after finish intallation i get this message
enter image description here

but still i am getting this message .what should i do please help me .
enter image description here

aws’ is not recognized as an internal or external command,
operable program or batch file.

One Answer

see the error message during the installation, "Defauling to user installation because normal site-packages is not writable". So it has been installed inside your user directory.

to find out the user installatiion directory.

  • you can open a python prompt by entering the command python in the command line
  • import sys package import sys
  • check the output of sys.path
  • then you can add the script directoy of the python path to the PATH environment variable

Usually the installation location should be c:users[username]AppDataRoamingPythonPython38scripts/aws.exe

your python version might be different.

You should also add c:users[username]AppDataRoamingPythonPython38scripts to your path.

update: you can also use pip show awscli to see where the module is installed

Answered by Arun Kamalanathan on January 5, 2022

Add your own answers!

Related Questions

Remove item from state

3  Asked on December 5, 2020 by clayton-crockville

 

How to concatenate 3 lists even if there are a list null?

2  Asked on December 5, 2020 by alexz

       

Angular 8: Select first element of ng-content

1  Asked on December 5, 2020 by ijustdev

     

docker-compose volume empty

3  Asked on December 5, 2020 by kerby82

   

Extract value of column from a line (variable)

4  Asked on December 4, 2020 by user4516211

       

Merge Two Files in Weka based on date

1  Asked on December 4, 2020 by spwath

 

Set Session ID Cookie in Nuxt Auth

1  Asked on December 4, 2020 by dominooch

   

Warnings in gcc compiler

1  Asked on December 3, 2020 by hygor-marques

     

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP