我在尝试从XML文件加载配置时收到无效选项 - 'x'

时间:2014-05-28 07:34:48

标签: uwsgi

我想在我的服务器上部署我的django项目。

加载XML文件中的uswsgi配置的步骤给出了以下错误:

uwsgi -x /home/chaney/launch/Django/webtest/webtest/webtest_socket.xml
uwsgi: invalid option -- 'x'
getopt_long() error

但是,在uwsgi文档中,它显示'This option may be set with -x from the command line.'

那么为什么会出现错误信息呢?

1 个答案:

答案 0 :(得分:1)

您已经构建了uWSGI而没有xml支持,使用其他格式或在安装libxml2或expat后重建它。构建uWSGI时,将打印包含其功能的报告。 xml不能为假。

相关问题