Install python-coloredlogs by entering the following commands in the terminal:
sudo apt update sudo apt install python-coloredlogs
Description:
colored terminal output for Python 2's logging module
The coloredlogs package enables colored terminal output for Python's logging module. The ColoredFormatter class inherits from logging.Formatter and uses ANSI escape sequences to render your logging messages in color. It uses only standard colors so it should work on any UNIX terminal. . This package provides the modules for Python 2.
Homepage: https://coloredlogs.readthedocs.io
Version: 7.3-1
Section: universe/python