How to Install Python-openpyxl package on Linux?
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
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.
Please Login to comment...