Open missximon opened 3 years ago
Pip doesn't install pybind11 search script to cmake. If I remember correctly, the conda version of pybind11 will do the correct job if your cmake is also installed by conda.
A simple workaround is open build/CMakeCache.txt
and directly modify pybind11_DIR
to the correct path, and then re-run cmake
The error looks like this:
but I have installed the pybind11 by pip install. what's problem and what should I do?