pip 安装 uwsgi 出现错误

错误提示:

Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-1a5m19e6/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-z58yv291/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-1a5m19e6/uwsgi/

解决方法:

sudo apt-get install python3-dev

 

你可能感兴趣的:(pip 安装 uwsgi 出现错误)