waitress-serve command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
waitress-serve: command not found
or when using sudo you get the following error message
sudo: waitress-serve: command not found
Solutions to waitress-serve: command not found
How To Fix waitress-serve: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu waitress-serve is provided by python3-waitress package.
python3-waitress is:
Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library. It runs on CPython on Unix and Windows under Python 2.7+ and Python 3.3+. It is also known to run on PyPy 1.6.0 on UNIX. It supports HTTP/1.0 and HTTP/1.1.
This is the Python 3 version of the package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-waitress
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-waitress.
sudo apt -y install python3-waitress
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-waitress
Summary
In this tutorial we learn how to fix waitress-serve command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.