Skip to content

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

@dprogm

Description

@dprogm

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions