Python Nginx错误:未知指令“;uwsgi_param“;

Python Nginx错误:未知指令“;uwsgi_param“;,python,nginx,flask,uwsgi,Python,Nginx,Flask,Uwsgi,我正在尝试使用u-wsgi模块在nginx上安装和部署我的flask服务。 重新启动nginx时出现此错误-- 我的烧瓶配置文件是-- 我尝试搜索问题,发现安装nginx full可以解决问题。 当我尝试安装nginx full时,错误是-- 以下包具有未满足的依赖项: nginx full:取决于:乘客公用(>=1:3.0.17),但不打算安装 取决于:乘客公用(

我正在尝试使用u-wsgi模块在nginx上安装和部署我的flask服务。 重新启动nginx时出现此错误--

我的烧瓶配置文件是--

我尝试搜索问题,发现安装
nginx full
可以解决问题。 当我尝试安装nginx full时,错误是--

以下包具有未满足的依赖项:
nginx full:取决于:乘客公用(>=1:3.0.17),但不打算安装
取决于:乘客公用(<1:3.0.18),但不打算安装
E:无法纠正问题,您持有的是破损的包裹。
在这里输入代码

看起来您需要安装Uwsgi

sudo apt-get install nginx
sudo apt-get install uwsgi
sudo apt-get install uwsgi-plugin-python
sudo apt-get install uwsgi-plugin-http
要安装具有依赖项的软件包,请指定-f标志

sudo apt-get -f install nginx-full

感谢您的回复,但我正面临nginx fullpls的包装破损问题,请参考
 The following packages have unmet dependencies:
 nginx-full : Depends: passenger-common (>= 1:3.0.17) but it is not going to be installed
 Depends: passenger-common (< 1:3.0.18) but it is not going to be installed
 E: Unable to correct problems, you have held broken packages.
enter code here
sudo apt-get install nginx
sudo apt-get install uwsgi
sudo apt-get install uwsgi-plugin-python
sudo apt-get install uwsgi-plugin-http
sudo apt-get -f install nginx-full