quart command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
quart: command not found
or when using sudo you get the following error message
sudo: quart: command not found
Solutions to quart: command not found
How To Fix quart: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu quart is provided by python3-quart package.
python3-quart is:
Quart is a Python ASGI web microframework. It is intended to provide the easiest way to use asyncio functionality in a web context, especially with existing Flask apps. This is possible as the Quart API is a superset of the Flask API.
Quart aims to be a complete web microframework, as it supports HTTP/1.1, HTTP/2 and websockets. Quart is very extendable and has a number of known extensions and works with many of the Flask extensions.
Quart supports the full ASGI 3.0 specification as well as the websocket response and HTTP/2 server push extensions. For those of you familiar with Flask, Quart extends the Flask API by adding support for:
- HTTP/1.1 request streaming
- Websockets
- HTTP/2 server push
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-quart
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-quart.
sudo apt -y install python3-quart
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-quart
Summary
In this tutorial we learn how to fix quart command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.