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
私はピップ経由uwsgiインストールされていることを考えると必要なプラグインをインストールするにはどうすればよいですか?
注:私は、debianには独自のwsgiパッケージがありますが、何らかの理由でインストールできないことに気付いています。私はdebパッケージを使う必要がないようにpipを使っています。 – Tom
pipを使用してuwsgiをインストールすると、コンパイル行にはPythonとhttpで '-DUWSGI_DECLARE_EMBEDDED_PLUGINS'が含まれます。あなたの構成は積極的にそれらを必要とせずにロードしようとしていますか? –