Open In App

How to Install Python-Pymediainfo Module on Linux?

Improve
Improve
Like Article
Like
Save
Share
Report

Pymediainfo is a Python package that is used to wrap around the MediaInfo library. It works on various operating systems like Windows, Linux, and macOS. Along with this, it has support for various versions of Python like Python3.6, 3.7, 3.8, etc. In this article, we will look into the process of installing the Pymediainfo Package on the Linux Operating System.

Requirements:

Installing Python-Pymediainfo  package on Linux using PIP

To install the Python-Pymediainfo  package in Linux we have to follow the following steps:

Step 1: First of all, we will install Python3 on the Linux system. So to install python3 we use the following command: 

sudo apt-get install python3

 Installing-Python3-on-the-Linux-system

Step 2: Now, we install the pip module which is required to install and manage Python3 packages. So we use the following command:

sudo apt install python3-pip

Installing-the-pip-module

Step 3: Now, install the Pymediainfo package with the help of the following command:

sudo pip3 install pymediainfo

or

sudo apt-get install python3-pymediainfo

 Installing-the-Pymediainfo-package

Verifying Python-Pymediainfo package Installation on Linux using PIP

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

python3 -m pip show pymediainfo

You’ll get the below message if the installation is complete successfully without any error:

Verifying-Python-Pymediainfo-package-installation


Last Updated : 31 Jan, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads