6

I'm on a Windows based machine using GitBash for my shell. When I run, pip install aws cli, I get the following message:

Could not find a version that satisfies the requirement cli (from versions: ) No matching distribution found for cli

I Googled the error, and many responses indicate that it's can be the result of a package that's not contained in pypi, etc. (Pip install-couldn't find a version that satisfies the requirement).

However, since I'm following the video here: http://course.fast.ai/lessons/aws.html at 4:13, and it worked for the instructor, I'm not sure what I'm missing - can someone help me understand this (including any helpful troubleshooting commands to identify the source of the issue?)

I'm new to AWS and also bash so I apologize if this is a relatively elementary question.

Thanks in advance! -Ryan

Ryan Chase
  • 2,384
  • 4
  • 24
  • 33

2 Answers2

17

The command should be:

pip install awscli

You need to remove the space between 'aws' and 'cli'.

Alasdair
  • 298,606
  • 55
  • 578
  • 516
  • Thank you, very much appreciated. This command was covered up in the video link I provided by the video title "AWS Deep Learning setup" which is why I didn't notice that there shouldn't be a space. Thanks again. – Ryan Chase Jul 12 '17 at 16:59
  • FYI, the AWS Certified Developer Official Study Guide gives instructions for installing and configuring AWS CLI and they list it with a dash too (pg. 28). It must have changed at some point. – Miriam P. Raphael Aug 25 '20 at 23:06
  • @MiriamP.Raphael I'm not sure that the Python package was ever called `aws-cli` with a dash. It could just be a typo in that guide. – Alasdair Aug 26 '20 at 16:20
  • @Alasdair Very possible – Miriam P. Raphael Aug 26 '20 at 20:02
1

Try these commands

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

python get-pip.py

then

pip install awscli
Damith Ganegoda
  • 4,100
  • 6
  • 37
  • 46