mistral-wsgi-api command not found

In this troubleshooting guide we learn how to fix mistral-wsgi-api command not found error message

Introduction

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

mistral-wsgi-api: command not found

or when using sudo you get the following error message

sudo: mistral-wsgi-api: command not found

Solutions to mistral-wsgi-api: command not found

How To Fix mistral-wsgi-api: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mistral-wsgi-api is provided by python3-mistral package.

python3-mistral is:

Mistral is a workflow service. Most business processes consist of multiple distinct interconnected steps that need to be executed in a particular order in a distributed environment. One can describe such process as a set of tasks and task relations and upload such description to Mistral so that it takes care of state management, correct execution order, parallelism, synchronization and high availability. Mistral also provides flexible task scheduling so that it can run a process according to a specified schedule (i.e. every Sunday at 4.00pm) instead of running it immediately. Such set of tasks and relations between them is called a workflow.

This package contains the Python 3 libraries.

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

sudo apt-get -y install python3-mistral

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

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

sudo apt -y install python3-mistral

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

sudo aptitude install python3-mistral

Summary

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