Answers for "/Users/alex/UiA/RL-IKT441/yt/extern/pybind11/include/pybind11/detail/common.h:215:10: fatal error: 'Python.h' file not found #include <Python.h>"

C++
0

/Users/alex/UiA/RL-IKT441/yt/extern/pybind11/include/pybind11/detail/common.h:215:10: fatal error: 'Python.h' file not found #include <Python.h>

error message when using cmake to compile pybind11
solved by using "cmake .. -DPYBIND11_FINDPYTHON=ON"
Posted by: Guest on April-01-2022

Code answers related to "/Users/alex/UiA/RL-IKT441/yt/extern/pybind11/include/pybind11/detail/common.h:215:10: fatal error: 'Python.h' file not found #include <Python.h>"

Browse Popular Code Answers by Language