from:官方http://uwsgi-docs.readthedocs.org/en/latest/Install.html # Install the latest stable release: pip install uwsgi # ... or if you want to install the latest LTS (long term support) release, pip install http://projects.unbit.it/downloads/uwsgi-lts.tar.gz ps: 如果报错,先安装python-dev sudo apt-get install python-dev