eliot-prettyprint command not found

In this troubleshooting guide we learn how to fix eliot-prettyprint command not found error message

Introduction

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

eliot-prettyprint: command not found

or when using sudo you get the following error message

sudo: eliot-prettyprint: command not found

Solutions to eliot-prettyprint: command not found

How To Fix eliot-prettyprint: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu eliot-prettyprint is provided by python3-eliot package.

python3-eliot is:

Most logging systems tell you what happened in your application, whereas eliot also tells you why it happened.

eliot is a Python logging system that outputs causal chains of actions: actions can spawn other actions, and eventually they either succeed or fail. The resulting logs tell you the story of what your software did: what happened, and what caused it.

Eliot works well within a single process, but can also be used across multiple processes to trace causality across a distributed system.

Eliot is only used to generate your logs; you will still need tools like Logstash and ElasticSearch to aggregate and store logs if you are using multiple processes.

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

sudo apt-get -y install python3-eliot

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

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

sudo apt -y install python3-eliot

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

sudo aptitude install python3-eliot

Summary

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