wisted/test/raiser.c:4:20: fatal error: Python.h:No such file or directocompilation terminated.error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
运行如下命令即可
sudo apt-get install python-dev
sudo apt-get install python3-dev
本文介绍了如何解决在编译过程中遇到的Python.h文件缺失错误。通过安装python-dev和python3-dev包,可以有效解决这一问题。
wisted/test/raiser.c:4:20: fatal error: Python.h:No such file or directocompilation terminated.error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
运行如下命令即可
sudo apt-get install python-dev
sudo apt-get install python3-dev

被折叠的 条评论
为什么被折叠?