0

Python.h: No such file or directory compilation terminated

hedy created at6 years ago view count: 2442

编译uwsgi时出现的错误

report
回复
0

需要安装下python的开发包才能有这个头文件

ubuntu, debian

sudo apt-get install python-dev  # for python2.x
sudo apt-get install python3-dev  # for python3.x

centos, redhat, fedora

sudo yum install python-devel
6 years ago 回复