As I wrote in the Subject:... so, setup shows me that I have the
development package with headers, and so does cygcheck. I am not the author
working on python extensions, they are extensions from PyPi that are
building under pip.  Typical error is like so:

  × Building wheel for brotli (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]

/cygdrive/c/Users/somia/AppData/Local/Temp/pip-build-env-p1c92lq2/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py:287:
UserWarning: Unknown distribution option: 'test_suite'
        warnings.warn(msg)
      running bdist_wheel
      running build
      running build_py
      creating bin/lib.cygwin-3.6.9-x86_64-cpython-312
      copying python/brotli.py -> bin/lib.cygwin-3.6.9-x86_64-cpython-312
      running build_ext
      <string>:82: DeprecationWarning: dep_util is Deprecated. Use
functions from setuptools instead.
      building '_brotli' extension
      creating bin/temp.cygwin-3.6.9-x86_64-cpython-312/python
      creating bin/temp.cygwin-3.6.9-x86_64-cpython-312/c/common
      creating bin/temp.cygwin-3.6.9-x86_64-cpython-312/c/dec
      creating bin/temp.cygwin-3.6.9-x86_64-cpython-312/c/enc
      gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall
-Ic/include
-I/cygdrive/c/Users/somia/local/share/python-venv/beleriand/include
-I/usr/include/python3.12 -c python/_brotli.c -o
bin/temp.cygwin-3.6.9-x86_64-cpython-312/python/_brotli.o
      python/_brotli.c:7:10: fatal error: Python.h: No such file or
directory
          7 | #include <Python.h>
            |          ^~~~~~~~~~
      compilation terminated.
      distcc[2625] ERROR: compile python/_brotli.c on soren@desktop-msi/10
failed
      distcc[2625] (dcc_build_somewhere) Warning: remote compilation of
'python/_brotli.c' failed, retrying locally
      distcc[2625] Warning: failed to distribute python/_brotli.c to
soren@desktop-msi/10, running locally instead
      python/_brotli.c:7:10: fatal error: Python.h: No such file or
directory
          7 | #include <Python.h>
            |          ^~~~~~~~~~
      compilation terminated.
      distcc[2625] ERROR: compile python/_brotli.c on localhost failed
      error: command '/usr/local/lib/distcc/bin/gcc' failed with exit code 1
      [end of output]


  note: This error originates from a subprocess, and is likely not a
problem with pip.
  ERROR: Failed building wheel for brotli

As I wrote above, Imhave the devel pkg installed:

$ cygcheck -i --inst python39-devel
Fetching setup.ini from cygwin.com...

Installed package:
------------------
Name        : python39-devel
Version     : 3.9.24
Release     : 1
Architecture: x86_64
Install Date: Tue Nov 11 14:38:36 2025
Size        : 197012 (192 K)
Categories  : Python Interpreters
Source      : python39-3.9.24-1-src.tar.xz
Summary     : Py3K language interpreter

Description : [...]

I am working in a python venv as people tell me I must (the Perl guy that I
am is actually loving this, as proof of python's inferiority and the
filthiness of the venv kludge. Don't mean to start an argument or anything).
-- 
Soren 'tino (Soren Andersen)

Reply via email to