Compile Failed With Error Code 1 In /tmp/pip_build_root/uwsgi
I'm trying to follow the tutorial at http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html. I've gotten everything working down tohttp://uwsgi-docs.readthedoc
Solution 1:
May be a little late to answer your question but putting my answer could help people later.
I looked backward at the log and saw these lines.
[x86_64-linux-gnu-gcc -In file included from plugins/python/python_plugin.c:1:0: plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory #include ^ compilation terminated.
It turned out that it couldn't find Python.h. Installing python2.7-dev fixed the problem for me.
apt-get install -y python2.7-dev
Post a Comment for "Compile Failed With Error Code 1 In /tmp/pip_build_root/uwsgi"