uWSGI documentationに従って、 asyncioサポートを使用してuWSGIを構築しようとしました。VirtualenvでOS X 10.10 Yosemiteを使用しています。
最初に、コマンドpython3-config --include
を使用して python3 インクルード パスを取得しました。しかし、次のコマンドで uWSGI + Asyncio をビルドしようとすると:
CFLAGS="-I/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/include/python3.4m" UWSGI_PROFILE="asyncio" pip install uwsgi
次のエラーが表示されます。
plugins/greenlet/greenlet.c:2:10: fatal error: 'greenlet/greenlet.h' file not found
#include <greenlet/greenlet.h>
^
1 error generated.
以前にこの問題に遭遇した人はいますか? 私は最初にvirtualenvとグローバルpythonインストールでpipを使用してグリーンレットをインストールしようとしましたが、まだ取得してい'greenlet/greenlet.h' file not found
ます. 何かアドバイス?