guessit command not found

In this troubleshooting guide we learn how to fix guessit command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

guessit: command not found

or when using sudo you get the following error message

sudo: guessit: command not found

Solutions to guessit: command not found

How To Fix guessit: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu guessit is provided by python3-guessit package.

python3-guessit is:

GuessIt is a Python library that tries to extract as much information as possible from a video file. It has a very powerful filename matcher that allows one to guess a lot of metadata from a video using only its filename. This matcher works with both movies and TV show episodes.

This package contains the Python 3 module.

It also contains the “guessit” binary to interact with this library.

To fix this problem, we can install more using the command below.

sudo apt-get -y install python3-guessit

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install python3-guessit.

sudo apt -y install python3-guessit

Or if you have aptitude installed you can use the following command.

sudo aptitude install python3-guessit

Summary

In this tutorial we learn how to fix guessit command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.