Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hermetic Python: pyconfig.h: No such file or directory #41

Open
dprogm opened this issue Feb 28, 2022 · 2 comments
Open

Hermetic Python: pyconfig.h: No such file or directory #41

dprogm opened this issue Feb 28, 2022 · 2 comments

Comments

@dprogm
Copy link

dprogm commented Feb 28, 2022

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?

@jmeekhof
Copy link

jmeekhof commented Jun 7, 2022

Came here because I'm experiencing the same issue. Any solutions found?

@nthatte
Copy link

nthatte commented Sep 6, 2022

I'm experiencing the same issue as well. @dprogm were you able to find a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants