我正在使用cython将我的 python 文件转换为 c 文件,但是当我尝试编译 c 文件时,它对我来说失败了。
Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
我读了这篇文章:Cython Fatal Error: Python.h No such file or directory
但我无法理解。我尝试使用#include <Python.h>而不是#include "Python.h它对我来说也失败了。
有什么解决办法吗?谢谢你。