aws CLI install window

I am having trouble installing the aws CLI for windows.

I am following these instructions here

It requires that I have Python 3.6.2 but I have Python 2.7.6 when I run python --version

After I run

 pip install --user --upgrade awscli

and then try to run

aws --version

nothing happens.

I tried setting my path in Environment Variables but it still won't work. After this, I tried to upgrade my python version by installing python 3.6 on their website, but my python version won't update when I run python --version.

Could this be that start of why I cant install the CLI?

3 answers

  • answered 2018-07-11 03:57 Dan Chase

    Have you gone through the steps on the amazon website? Python 2 and 3 are quite different from what I understand.

    The AWS script you are running is really just a python program. I recommend verifying install paths, and possibly use their bundled installer found on the page above, about half way down.

  • answered 2018-07-11 03:59 Snowy

    At first make sure you have installed python3. Check it with command:

    Try to verify python version with command(on centos or redhat):

    $ rpm -qa|grep python3

    And then make sure python3 has been added to $PATH

    $python3 --version

    And I think you need to install pip3 for python3.X.

    $yum search python3|grep pip   

    And then install the package you need with command

    $ pip3 install --user --upgrade awscli

  • answered 2018-07-11 11:19 Ayushi Jain

    Use this link to download and install AWSCLI Download the AWS CLI MSI installer for Windows

    then go to C:\Program Files\Amazon\AWSCLI or where-so-ever you have installed this and set the path in Environment variables.