在Ubuntu环境下安装uWsgi的时候出现了一些问题
1:安装时出现错误:
[x86_64-linux-gnu-gcc -pthread] plugins/python/python_plugin.o
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
compilation terminated.
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-fvq6260p/uwsgi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-gnwj6mya/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-fvq6260p/uwsgi/
解决方案:sudo apt-get install libpython3.6-