How To Install Waitress-serve On Debian, Ubuntu, Arch, Kali, Fedora And Raspbian?
Maintainer: Andrej Shadura
Email: [email protected] .
Website: https://github.com/Pylons/waitress
Section: python
Install waitress-serve
-
Debian
apt-get install python-waitressClick to copy -
Ubuntu
apt-get install python-waitressClick to copy -
Arch Linux
pacman -S python-waitressClick to copy -
Kali Linux
apt-get install python-waitressClick to copy -
Fedora
dnf install python3-waitressClick to copy -
Raspbian
apt-get install python-waitressClick to copy
Pure Python WSGI HTTP Server.
How to use waitress-serve?
Below are few example commands for waitress-serve that you can use in the terminal.
Run a Python web app:waitress-serve import.path:wsgi_funcClick to copyListen on port 8080 on localhost:waitress-serve --listen=localhost:8080 import.path:wsgi_funcClick to copyStart waitress on a Unix socket:waitress-serve --unix-socket=path/to/socket import.path:wsgi_funcClick to copyUse 4 threads to process requests:waitress-serve --threads=4 import.path:wsgifuncClick to copyCall a factory method that returns a WSGI object:waitress-serve --call import.path.wsgi_factoryClick to copySet the URL scheme to https:waitress-serve --url-scheme=https import.path:wsgi_funcClick to copy
Installing waitress-serve command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of waitress-serve 2026 package in your OS.




