How to Install Jmespath in Python in Linux?
Jmespath is known as the JSON query language for Python. It is used to find or extract the needed data from the JSON document or dictionary very quickly. It is also available in other languages also. In this article, we will be looking at the stepwise procedure to install the Jmespath for Python in Linux Operating System.
Installing Jmespath package on Linux using PIP
To install the Jmespath package in Linux we have to follow the following steps:
Step 1: First of all, we will install Python3 on Linux System. Use the following command in the terminal to install the latest version of Python3.
sudo apt-get install python3
Step 2: Now, install the pip module which is required to install and manage the packages in Python3. So we use the following command:
sudo apt install python3-pip
Step 3: Now, we install the Jmespath package by using the following command:
sudo pip3 install jmespath
sudo apt-get install python3-jmespath
Verifying Jmespath package Installation on Linux using PIP
To verify if the Jmespath package has been successfully installed in your system run the below command in Terminal:
python3 -m pip show jmespath
You’ll get the below message if the installation is completed successfully.