Oracle Linux 7.5 Awscli Package Is Non-functional and aws fails with: "import botocore.session"

(Doc ID 2421627.1)

Last updated on JULY 12, 2018

Applies to:

Linux OS - Version Oracle Linux 7.5 and later
Linux x86
Linux x86-64

Symptoms

On Oracle Linux 7.5,  running the aws command (the core utility from awscli) fails, with the following error message outputted:

Traceback (most recent call last):
File "/usr/bin/aws", line 19, in
import awscli.clidriver
File "/usr/lib/python2.7/site-packages/awscli/clidriver.py", line 18, in
import botocore.session

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms