Skip to content
Related Articles

Related Articles

How to Install Imapclient in Python on Linux?

Improve Article
Save Article
  • Last Updated : 18 Mar, 2022
Improve Article
Save Article

IMAPClient is a Python-based, easy-to-use, and comprehensive IMAP client library. Although IMAPClient makes use of the imaplib module from the Python standard library, it has its own API. IMAPClient officially supports Python versions 2.7 and 3.4 through 3.9. So, in this article, we’ll learn how to install the IMAPClient Python package on a Linux machine. 

Installing Imapclient package on Linux using PIP


To install the Imapclient package in Linux we have to follow the following steps:

Step 1: Install the latest version of Python3 on Linux Machine using the following command in the terminal:

sudo apt-get install python3

Step 2: Now, using the below command we will install the pip module which is required to install and manage all the packages of Python3 and above versions:

sudo apt install python3-pip

Step 3: Using the following command we install the Imapclient package:

sudo pip3 install IMAPClient

Verifying Imapclient package installation on Linux using PIP

To verify if the Imapclient package has been successfully installed in your system run the below command in Terminal:

python3 -m pip show IMAPClient

You’ll get the following output if the installation is completed successfully in your system.

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!