-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: install python development headers with the virtual environment #11061
Labels
question
Asking for clarification or support
Comments
Are you sure you're on our latest Python versions? e.g., see #10558 (comment) |
The same issue
|
You can see includes like |
Please provide the information described in #9452 e.g., verbose logs, versions, and platforms. |
Yeah after I updated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I have Python 3.13 installed system-wide and initially created a virtual environment with this version. However, some of the required libraries depend on Python 3.12, so I set up another virtual environment using Python 3.12.
When trying to build
pyobject
, I ran into an issue because some of its dependencies require C extensions compiled withgcc
. The problem is that the build process fails to find the Python.h header file. Strangely, it doesn’t seem to use the headers from Python 3.13—even though I assumed they should be the same.Wouldn't it make sense to install Python headers automatically for each virtual environment? Or at least provide an option to enable this via a command-line argument?
Example
No response
The text was updated successfully, but these errors were encountered: