Compiler errors 使用ninja编译时未找到Python.h文件

Compiler errors 使用ninja编译时未找到Python.h文件,compiler-errors,ninja,Compiler Errors,Ninja,我正试图在Opensuse上编译mitsuba2,使用cmake编译进行得很顺利,但后来我使用ninja编译了它,出现了消息Python.h file not found。我安装了python3dev,python3devel,但问题仍然存在。 我该怎么办

我正试图在Opensuse上编译mitsuba2,使用cmake编译进行得很顺利,但后来我使用ninja编译了它,出现了消息
Python.h file not found
。我安装了python3dev,python3devel,但问题仍然存在。 我该怎么办