Open In App

How to Install Python-Pymediainfo Module on Linux?

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

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

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

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:

Article Tags :