报错信息:
Command /usr/bin/python -c "import setuptools;__file__='/root/build/uwsgi/setup.py';exec(compile(open(__file__).read().replace('rn','n'),__file__,'exec'))" install --single-version-externally-managed --record /tmp/pip-GKEc5O-record/install-record.txt Failed with error code 1 in /root/build/uwsgi Storing complete log in /root/.pip/pip.log
解决:apt-get install build-essential python-dev
pip install uwsgi
或apt-get install -y python2.7-dev