我正在努力将Python嵌入到一些C++代码中,但我在编译它时遇到了困难。对于头文件,我有#include我会初步尝试,$g++EmbeddedPython.cpp但最终会得到EmbeddedPython.cpp:1:20:error:Python.h:NosuchfileordirectoryEmbeddedPython.cpp:Infunction‘intmain(int,char**)’:EmbeddedPython.cpp:6:error:‘Py_Initialize’wasnotdeclaredinthisscope....然后我尝试了g++EmbeddedPython.cp