Skip to content
Related Articles

Related Articles

How to Install Jmespath in Python in Linux?

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 31 Jan, 2022

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. 

Requirements:

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

Install-Python3-on-Linux

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

 Installing-the-pip-module

Step 3: Now, we install the Jmespath package by using the following command:

sudo pip3 install jmespath 

or

sudo apt-get install python3-jmespath

Installing-the-Jmespath-package

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.

Verifying-Jmespath-package-installation

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!