pybind11_bazel
pybind11_bazel copied to clipboard
Hermetic Python: pyconfig.h: No such file or directory
Hello, I am facing the following issue when trying to build with a hermetic python interpreter according to this repo: https://github.com/sha1n-playground/bazel-python-toolchain
In file included from external/pybind11/include/pybind11/detail/common.h:215:0, from external/pybind11/include/pybind11/pytypes.h:12, from external/pybind11/include/pybind11/cast.h:13, from external/pybind11/include/pybind11/attr.h:13, from external/pybind11/include/pybind11/pybind11.h:13, from dependencies/commonapi/src-gen/PyBAPProxy.cpp:33: bazel-out/k8-fastbuild/bin/external/local_config_python/python_include/Python.h:8:10: fatal error: pyconfig.h: No such file or directory #include "pyconfig.h" ^~~~~~~~~~~~ compilation terminated.
Has anybody a solution for this problem?
Came here because I'm experiencing the same issue. Any solutions found?
I'm experiencing the same issue as well. @dprogm were you able to find a solution?