1. 程式人生 > >pip 安裝 uwsgi 出現錯誤

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