-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Python.h No such file or directory #3778
Comments
Hi @perryitay have you installed the (OSs normally split the Python distribution into several packages and only provide a minimal subset by default. On Ubuntu |
I do have python3.9-dev installed. and the problem happens only from setuptools >= 65.2.0. why could be the reason for that ? |
Thanks for bisecting the release. According to the changelog, that version introduced one change:
|
Fixing cross-compiling support was pypa/distutils#173. I suspect that change has broken some assumptions in your environment. |
I'm unable to replicate the issue using pip.
My guess is there's something special about the sysconfig on that system. What do you get for Can you work out what steps are needed to replicate the failure (on a clean system, maybe Docker)? |
See also pypa/distutils#178 where issues with related logic are being discussed. |
Likely this report is a duplicate of #3657. |
setuptools version
65.2.0
Python version
Python 3.9
OS
Ubuntu
Additional environment information
No response
Description
when trying to update setuptools to a ver >= 65.2.0, tried various versions. (65.1.1 works fine)
I get this errors for different extensions:
Expected behavior
I except Python.h to exist
How to Reproduce
create a build that includes cffi, mcripto etc. and setuptools larger then 65.2.0
Output
The text was updated successfully, but these errors were encountered: