1
我只是试图让这个编译来继续并做实际的代码,但每当我尝试编译它说fatal error: Python.h: No such file or directory
我已经尝试了一切,仍然。我使用NetBeans和在“附加库目录”我把C:/Python27/libs
和“包含目录”我把C:/Python27/include
Python.h没有找到它存在时Windows
#include <iostream>
#include <Python.h>
using namespace std;
int main(int argc, char** argv) {
cout << "Hello World!";
return 0;
}
可能重复的[Python.h编译器问题](http://stackoverflow.com/questions/7125522/python-h-compiler-issue) – dpl47