直接用brew install pybind11
1./usr/local/include/pybind11/detail/common.h:122:10: fatal error: 'Python.h' file not found 源于common.h里面使用的是#include<Python.h>,要改为#include <Python/Python.h>,其他2个文件,也在前面加Python路径就好了