我使用pip install uwsgi
安裝了uwsgi。使用'pip'安裝帶有插件的uwsgi
當我運行uwsgi時,出現了一些錯誤。我正在運行的命令是uwsgi --master --emperor /etc/uwsgi/apps-enabled --die-on-term --uid www-data --gid www-data
。
看來,我錯過了HTTP和Python插件:
[uWSGI] getting INI configuration from component_tracking_test.ini open("./http_plugin.so"): No such file or directory [core/utils.c line 3347] !!! UNABLE to load uWSGI plugin: ./http_plugin.so: cannot open shared object file: No such file or directory !!! open("./python_plugin.so"): No such file or directory [core/utils.c line 3347] !!! UNABLE to load uWSGI plugin: ./python_plugin.so: cannot open shared object file: No such file or directory !!! [emperor] removed uwsgi instance component_tracking_test.ini
如何安裝給出所需的插件,我已經通過PIP安裝uwsgi?
注意:我知道debian有它自己的wsgi包,但是由於某些原因它們無法安裝。我試圖用pip來避免使用debian軟件包。 – Tom 2013-05-06 20:54:41
當我使用pip安裝uwsgi時,編譯行包含帶有python和http的'-DUWSGI_DECLARE_EMBEDDED_PLUGINS'。您的配置是否積極嘗試加載它們而不需要它們? – 2013-05-06 21:43:11