我已经加载了从源代码构建的uWSGI v 1.9.20.我收到此错误,但如何判断需要哪个插件?
!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!
no request plugin is loaded, you will not be able to manage requests.
you may need to install the package for your language of choice, or simply load
it with --plugin.
!!!!!!!!!!! END OF WARNING !!!!!!!!!!
Run Code Online (Sandbox Code Playgroud)
应该加载哪个插件?
KVI*_*ISH 62
我有这个问题,被困了几个小时.
我的问题与列出的答案不同,请确保您plugins = python在uwsgi ini文件中并安装了uwsgi python插件:
sudo apt-get install uwsgi-plugin-python
Run Code Online (Sandbox Code Playgroud)
完成上述操作后,我的申请工作正常.显然这是针对python项目的,但其他项目也需要类似的方法.
从您正在使用的操作系统中通过pip而不是软件包管理器安装uwsgi可能最容易,pip中的软件包通常比您可能使用的操作系统中的软件包管理器更新:
sudo pip install uwsgi
Run Code Online (Sandbox Code Playgroud)
无论如何,这为我解决了.
为了在同一台服务器上使用多个Python版本,我建议你看一下virtualenv:https://virtualenv.pypa.io/en/latest/
| 归档时间: |
|
| 查看次数: |
19651 次 |
| 最近记录: |