cannot find pybind while installing onnx master
See original GitHub issuecontext: win7, miniConda3 Error:
`CMake Warning at CMakeLists.txt:353 (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"
(requested version 2.2) with any of the following names:
pybind11Config.cmake
pybind11-config.cmake
Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
"pybind11_DIR" to a directory containing one of the above files. If
"pybind11" provides a separate development package or SDK, be sure it has
been installed.
CMake Error at CMakeLists.txt:362 (message):
cannot find pybind`
I have installed the pybind11 master branch. But still hit this error. I tried to find thoes two files but failed. Can anyone advise?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:8
Top Results From Across the Web
How to make cmake find pybind11 - Stack Overflow
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...
Read more >mmcv Changelog - pyup.io
You can find previous versions compiled with PyTorch 1.3 & 1.4 [here](https://github.com/open-mmlab/mmcv/blob/master/docs/get_started/previous_versions.md).
Read more >Release 0.11.0 MMDeploy Contributors
After the installation, you can enjoy the model deployment journey starting from converting PyTorch model to backend.
Read more >PROCESSOR-SDK-AM64X: tisdk build failure - TI E2E
'git://github.com/onnx/onnx-tensorrt;protocol=https;branch=master ... -yocto-build-failure-while-trying-to-fetch-repository as follows:.
Read more >Can not Install ONNX==1.4.1 on Jetson Xavier
but CMake did not find one. Could not find a package configuration file provided by "pybind11" (requested version 2.2) with any of the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I had this issue while trying to build ONNX locally within a virtualenv. Solved this way:
Be sure to have Cmake:
sudo snap install cmake --classicClone, build and install
pyenv local 3.8.xPybind is installed for Python 3.8 in
/usr/local/include/pybind11Still an issue for me, as I’m not a
condauser 😢