Skip to content
Related Articles
Open in App
Not now

Related Articles

How to Install Python-openpyxl package on Linux?

Improve Article
Save Article
  • Last Updated : 24 Feb, 2022
Improve Article
Save Article

Openpyxl is a Python library for reading and writing Excel (with extension xlsx/xlsm/xltx/xltm) files. The openpyxl permits the Python program to read and modify Excel files. Using the Openpyxl module, these tasks can be done very efficiently and simply. So, in this article, we will be installing the Openpyxl package on Linux operating system using Python-Pip.

Installing Openpyxl package on Linux using PIP


  1. Python3
  2. Python3-pip

To install the Openpyxl package in Linux 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 following command we install the pip module which is required to install and manage all the packages of Python3:

sudo apt install python3-pip


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

sudo pip3 install openpyxl 


Verifying Openpyxl package installation on Linux using PIP

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

python3 -m pip show openpyxl 

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!