fatal error: pybind11/pybind11.h: No such file or directory
See original GitHub issueI tried following the example in the README and got the following error:
/tmp/tmp826vncgj/somecode.cpp:2:36: fatal error: pybind11/pybind11.h: No such file or directory
#include <pybind11/pybind11.h>
Issue Analytics
- State:
- Created 7 years ago
- Comments:27 (10 by maintainers)
Top Results From Across the Web
pybind11/pybind11.h: No such file or directory ... - GitHub
I tried to make sure that the file pybind11.h could be found by CLion. So I used Windows search to locate pybind11. It...
Read more >building cpp with pybind11 - python - Stack Overflow
I get this other output: prova.cpp:1:10: fatal error: pybind11/pybind11.h: No such file or directory ...
Read more >pybind11.h: No such file or directory - DeepStream SDK
I am trying to compile Deepstream 6.0 Python bindings: sudo apt install -y git python-dev python3 python3-pip python3.6-dev python3.8-dev ...
Read more >fatal error: pybind11/operators.h while installing ydk0.8.5
It looks like you are missing installation of pybind11 package. Try "locate pybind11" or "pip list | grep pybind11" to see if it...
Read more >Installation — DScribe 0.4.x documentation - GitHub Pages
fatal error : pybind11/pybind11.h: No such file or directory: The package depends on pybind11 which is used for communication between python and 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 FreeTop 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
Top GitHub Comments
just confirmed the pip installation of pybind does not install the .h files for me as well, weird. Using windows with python 3.7.4. However, using pip install pybind11[global] fixed the issue for me.
Hi @timbicker ,
I mange to resolve this issue inside a virtualenv of python2.7 by installing pybind11 using conda install pybind11
Hope this helps