gunicorn3 command not found

In this troubleshooting guide we learn how to fix gunicorn3 command not found error message

Introduction

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

gunicorn3: command not found

or when using sudo you get the following error message

sudo: gunicorn3: command not found

Solutions to gunicorn3: command not found

How To Fix gunicorn3: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gunicorn3 is provided by gunicorn package.

gunicorn is:

Green Unicorn (gunicorn) is an HTTP/WSGI server designed to serve fast clients or sleepy applications. That is to say; behind a buffering front-end server such as nginx or lighttpd.

  • Optional support for Eventlet, Tornado and Gevent to provide asynchronous long-polling (“Comet”) connections.
  • Process management: Gunicorn reaps and restarts workers that die.
  • Easy integration with Django and Paster compatible applications (Pylons, TurboGears 2, etc.
  • Load balancing via pre-fork and a shared socket
  • Graceful worker process restarts
  • Upgrading without losing connections
  • Decode chunked transfers on-the-fly, allowing upload progress notifications or stream-based protocols over HTTP

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

sudo apt-get -y install gunicorn

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

You can also use apt command to install gunicorn.

sudo apt -y install gunicorn

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

sudo aptitude install gunicorn

Summary

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