I’m trying to build a library using cmake with pybind11.
everything works perfectly without pybind. But after putting pybind in my project I get an error.
The same code works perfectly for my friend.
The console outputs this error after I try to build the project:
-- pybind11 v2.13.0 dev1
CMake Error at pybind11/tools/FindPythonLibsNew.cmake:265 (message):
Python libraries not found
Call Stack (most recent call first):
pybind11/tools/pybind11Tools.cmake:50 (find_package)
pybind11/tools/pybind11Common.cmake:192 (include)
pybind11/CMakeLists.txt:247 (include)
-- Configuring incomplete, errors occurred!
I’ve tried reinstalling miniconda. It didn’t work
New contributor
Lalunia2137 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.