我正在使用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
,但对我来说也失败了。
有解决方案吗?谢谢。