logilab-pytest command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
logilab-pytest: command not found
or when using sudo you get the following error message
sudo: logilab-pytest: command not found
Solutions to logilab-pytest: command not found
How To Fix logilab-pytest: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu logilab-pytest is provided by python3-logilab-common package.
python3-logilab-common is:
logilab-common is a collection of low-level Python packages and modules, designed to ease:
- handling command line options and configuration files
- writing interactive command line tools
- manipulation files and character strings
- interfacing to OmniORB
- generating SQL queries
- running unit tests
- manipulating tree structures
- accessing RDBMS (currently postgreSQL, MySQL and sqlite)
- generating text and HTML reports
- logging
- parsing XML processing instructions
This package contains the Python 3 version of logilab-common.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-logilab-common
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-logilab-common.
sudo apt -y install python3-logilab-common
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-logilab-common
Summary
In this tutorial we learn how to fix logilab-pytest command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.