安装uwsgi 报错“fatal error: Python.h: No such file or directory” 安装uwsgi 报错“fatal error: Python.h: No such file or directory” 一看找不到python.h,肯定是依赖问题,网上一搜,基本答案都是安装 python-dev 和 build-essential, 解决方法 apt-get install python3-dev