Aws-cli: fresh install using pip failed

Created on 5 Sep 2016  路  3Comments  路  Source: aws/aws-cli

Hi,
I have a strange installation problem:

<root@xxxx>/root # pip install awscli
Collecting awscli
  Could not find a version that satisfies the requirement awscli (from versions: )
No matching distribution found for awscli

Pip itself seems to pass dependency requirements

<root@xxxx>/root # pip -V
pip 7.1.2 from /usr/local/lib/python2.7/dist-packages (python 2.7)

Most helpful comment

In my case turned out to be a SSL version error which I was able to see when running the command using verbose:
sudo pip install -vvv awscli

The fix was to upgrade pip as this thread explains https://stackoverflow.com/questions/49768770/not-able-to-install-python-packages-ssl-tlsv1-alert-protocol-version

All 3 comments

This appears to be an issue with pip, not the CLI. I would recommend asking the pip maintainers. That said, I was able to find a very similar issue on the homebrew repo that might be of assistance: https://github.com/Homebrew/legacy-homebrew/issues/41253

Thank you Jordon, it was indeed pip issue.
I have fixed it by manually running python setup.py install for each dependent module. Not the optimal way (in compare to SSL update) but fast enough.

In my case turned out to be a SSL version error which I was able to see when running the command using verbose:
sudo pip install -vvv awscli

The fix was to upgrade pip as this thread explains https://stackoverflow.com/questions/49768770/not-able-to-install-python-packages-ssl-tlsv1-alert-protocol-version

Was this page helpful?
0 / 5 - 0 ratings