Jan. 12, 2020
1:34 p.m.
On Thu, 9 Jan 2020 15:18:55 +0100 Victor Stinner <vstinner@python.org> wrote:
Which build command rely on python-config? Is it to cross-compile 3rd party C extensions on the host?
Hello, OP speaking here. In two cases I came across this issue. No cross-compiling involved. 1) To debug a Python C extension I wrote a standalone C test program which of course needs to find "Python.h" and libpython*.* for building. I ran into trouble when I tried to build that program in a custom compiled debugging Python environment. 2) I need to recheck this, but it was a "pip install" for a package from pypi org. Probably numpy or pandas errored out with not being able to find "Python.h". I'll try and re-check.