Open In App

How to Install python3-s3transfer on Ubuntu?

Last Updated : 31 Jan, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

S3transfer is a Python library. It is used for managing Amazon S3 transfers. In this article, we will be looking at the step-wise procedure to install the python3-s3transfer for Python in Linux.

Installing Python3-s3transfer on Linux

Follow the below steps to install Python3-s3transfer in Linux:

Step 1: Check the Python version. Here we check if Python is installed or not on your system. Here, we run the below command in the terminal of the Linux to check if the Python is already installed in the system or not. In case Python is already installed on your system then the output will be the current version of Python and if it is not installed it will throw an error. For installing python in your system refer to How to Install Python.

python3.9 –version

Check-the-Python-version

Step 2: Updates information and its dependencies. This step is to update the Linux used by the user to get the latest version so that it can make the process much faster and the system updates will make the installing easily without facing any issue.

sudo apt-get update

Updates-information-and-its-dependencies

Step 3: Install the s3transfer package. Here, it is the final step to install the s3transfer in python just the user needs to type the below-mentioned command in the working Linux terminal and the s3transfer will be successfully installed in the system.

sudo apt-get install python3-s3transfer

or 

sudo pip3 install s3transfer

 Installing-the-s3transfer-package Installing-the-s3transfer-package-using-pip3

Verifying s3transfer installation on Linux

For ensuring the installation of s3transfer on our system, we can use the following import command in the Python terminal. If there is an error while importing the module then it means it is not installed properly.

import s3transfer

Verifying-s3transfer-installation


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads