falcon-print-routes command not found

In this troubleshooting guide we learn how to fix falcon-print-routes command not found error message

Introduction

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

falcon-print-routes: command not found

or when using sudo you get the following error message

sudo: falcon-print-routes: command not found

Solutions to falcon-print-routes: command not found

How To Fix falcon-print-routes: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu falcon-print-routes is provided by python3-falcon package.

python3-falcon is:

Falcon is a high-performance Python framework for building cloud APIs. It encourages the REST architectural style, and tries to do as little as possible while remaining highly effective.

Unlike other Python web frameworks, Falcon won’t bottleneck your API’s performance under highly concurrent workloads. Many frameworks max out at serving simple “hello world” requests at a few thousand req/sec, while Falcon can easily serve many more on the same hardware.

Falcon isn’t very opinionated. In other words, the framework leaves a lot of decisions and implementation details to you.

Features:

  • Intuitive routing via URI templates and resource classes
  • Easy access to headers and bodies through request and response classes
  • Idiomatic HTTP error responses via a handy exception base class
  • DRY request processing using global, resource, and method hooks
  • Snappy unit testing through WSGI helpers and mocks
  • 20% speed boost when Cython is available
  • Python 2.6, Python 2.7, PyPy and Python 3.3 support

This package provides the Python 3.x module.

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

sudo apt-get -y install python3-falcon

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

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

sudo apt -y install python3-falcon

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

sudo aptitude install python3-falcon

Summary

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