Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Cloud/Install AWS CLI on Ubuntu 16.04

August 11, 2019

Install AWS CLI on Ubuntu 16.04

I ran into an issue with AWS CLI on Ubuntu 16.04. I was getting this error, “AWSHTTPSConnection’ object has no attribute ‘ssl_context” every time I try to do a simple “aws s3 ls” command. So, here’s the fix.

Assuming you installed “awscli” using apt. Go ahead and uninstall it.

apt remove awscli

apt remove awscli

Install awscli using pip instead.

apt install python-pip
pip install awscli
aws --version

apt install python-pip pip install awscli aws --version

If this is a fresh install, you may have to run “aws configure.”

Filed Under: Cloud Tagged With: aws, awshttpsconnection, cli, error, fix, install, pip

Have content delivered to your mail. Subscribe below.

About Me

I'm Ulysses, Cloud Engineer at Cardinal Health based in Columbus. This blog is about Linux and Cloud technology. When off the grid, I enjoy riding my electric skateboard. I've surfed, snowboarded and played the saxophone in the past. I hope you find this website helpful. It's powered by WordPress and hosted on AWS LightSail.

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021