In this post i will discuss how to install Boto3 module on Python, I am using Python 3.6, What is Boto3 ?!
Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to write software that makes use of services like Amazon S3 and Amazon EC2. You can find the latest, most up to date, documentation at our doc site, including a list of services that are supported.
The Module is very big and covering all AWS features, you can intergrate the code and start dealing with S3 for exampel from Download/Upload, Create Bucket , Delete and more; the documentation is here
To install Boto3, you should follow the below steps
Option #1
yum install python3-pip
Once you run the above command, Pip will be installed on local machine which is a package manager for Python packages, or modules if you like.
pip3 install boto3 --user
Option #2
I prefer this method more than Option #1 because it’s run by python itself
python3 -m pip install --user boto3
Now you installed Boto3 on your machine, you can start using it by
import boto3
Enjoy the coding with Python
Osama