It never feels like a good start when you’re trying to start out with something and the install fails with an obscure error! I was just trying to install the Amazon CLI following the instructions at https://aws.amazon.com/cli/ and ran into the following error when running ‘pip install awscli’:
Collecting awscli Could not find a version that satisfies the requirement awscli (from versions: ) No matching distribution found for awscli
I appeared to have a correct version of Python installed (v2.7) and checking “PIP -v” indicated that 9.0.1 was installed. That all seemed to tick the required boxes but digging around a little more I did see that some people had had issues with various versions of PIP so I found/ran the following to upgrade to the latest version:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py
This installed v9.0.3 of PIP which burst into life when I re-ran ‘pip install awscli’ and everything seems to be ok. Like I say, when things fail on the very first hurdle it can be a little disconcerting so hopefully, this helps if anyone runs into this error.