根据 https://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html?highlight=django%20nginx 文档的步骤,在pip install uwsgi的一步提示找不到“Python.h”,运行setup失败,之后在测试uwsgi --http :8000 --wsgi-file test.py时提示:
uwsgi: option '--http' is ambiguous; possibilities: '--http-socket' '--http-socket-modifier2' '--http-socket-modifier1'
getopt_long() error
我之前没用Virtualenv在全局用apt-get安装过uwsgi,跑同一个测试脚本也出现同样的错误,请问有人遇到过类似的问题么?
1
passluo 2015-01-13 11:57:55 +08:00
apt-get install python-devel
|