gunicorn_pecan command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gunicorn_pecan: command not found
or when using sudo you get the following error message
sudo: gunicorn_pecan: command not found
Solutions to gunicorn_pecan: command not found
How To Fix gunicorn_pecan: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gunicorn_pecan is provided by python3-pecan package.
python3-pecan is:
The Pecan Python module is a WSGI object-dispatching web framework designed to be lean and fast with few dependencies. Pecan comes bundled with a lightweight WSGI development server based on Python’s wsgiref.simpleserver. Pecan applications also come with an interactive Python shell which can be used to execute expressions in an environment very similar to the one your application runs in (using the “pecan shell” command).
WSGI is the “Web Server Gateway Interface”. It defines a simple and universal interface between web servers and web applications or frameworks for the Python programming language.
This package contains the Python 3.x module.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-pecan
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-pecan.
sudo apt -y install python3-pecan
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-pecan
Summary
In this tutorial we learn how to fix gunicorn_pecan command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.