python-build: advise user with no c compiler#3294
Merged
native-api merged 1 commit intopyenv:masterfrom Apr 1, 2026
Merged
Conversation
this checks if "no acceptable C compiler found" is in the last 10 lines of the log, and asks if the user has correctly installed the build dependencies.
native-api
reviewed
Aug 2, 2025
Member
native-api
left a comment
There was a problem hiding this comment.
Maybe this would be a better fit in https://github.com/pyenv/pyenv-doctor ?
Member
|
In fact, in may be worth running |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prerequisite
no acceptable C compiler found(like in the replies for BUILD FAILED (Rocky Linux 9.2 using python-build 20180424) #2836)Description
This checks if
no acceptable C compiler foundis in the last 10 lines of the failed build logs and guides the user to check if they correctly installed the build dependencies. It also prints the URL to the Wiki page relating to build environments.Tests