My Oracle Support Banner

Oracle Linux 7.5 Awscli Package Is Non-functional and aws fails with: "import botocore.session" (Doc ID 2421627.1)

Last updated on FEBRUARY 22, 2019

Applies to:

Linux OS - Version Oracle Linux 7.5 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86
Linux x86-64


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/", line 18, in
import botocore.session



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.