解决fatal error: Python.h: No such file or directory

解决fatal error: Python.h: No such file or directory

Adding the correct path, as Mad Cow pointed out, solved the problem.

Code:
$ C_INCLUDE_PATH=/usr/include/python2.7
$ export C_INCLUDE_PATH

你可能感兴趣的:(解决fatal error: Python.h: No such file or directory)