ould not find a package configuration file provided by “pybind11” with any of the following names

Could not find a package configuration file provided by “pybind11” with any of the following names

  • Error Messages

CMake Error at CMakeLists.txt:14 (find_package):
By not providing “Findpybind11.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “pybind11”,
but CMake did not find one.

Could not find a package configuration file provided by “pybind11” with any
of the following names:

pybind11Config.cmake
pybind11-config.cmake

  • Solution
$ pip3 install pybind11-global

Leave a Reply

Your email address will not be published. Required fields are marked *