在cmake时粗心了, 要确保有 -D PYTHON_INCLUDE_DIR=/usr/include/python3.5 且该目录下存在Python.h文件. 如果在错误提示中是python2, 那就用PYTHON2_INCLUDE_DIR即可.
-D PYTHON_INCLUDE_DIR=/usr/include/python3.5