uwsgi_psgi command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
uwsgi_psgi: command not found
or when using sudo you get the following error message
sudo: uwsgi_psgi: command not found
Solutions to uwsgi_psgi: command not found
How To Fix uwsgi_psgi: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu uwsgi_psgi is provided by uwsgi-plugin-psgi package.
uwsgi-plugin-psgi is:
uWSGI presents a complete stack for networked/clustered web applications, implementing message/object passing, caching, RPC and process management. It is designed to be fully modular. This means that different plugins can be used in order to add compatibility with tons of different technology on top of the same core.
This package provides psgi plugin for uWSGI, to interface with Perl PSGI.
To fix this problem, we can install more using the command below.
sudo apt-get -y install uwsgi-plugin-psgi
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install uwsgi-plugin-psgi.
sudo apt -y install uwsgi-plugin-psgi
Or if you have aptitude installed you can use the following command.
sudo aptitude install uwsgi-plugin-psgi
Summary
In this tutorial we learn how to fix uwsgi_psgi command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.